Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007366/0.007366, allocations: 102.9 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 193.5 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8382/0.8382, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 66.56 kB / 0.5851 GB, free: 21.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1511, allocations: 80.92 MB / 0.6642 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002614/0.1538, allocations: 1.298 MB / 0.6654 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.155, allocations: 0.6398 MB / 0.6661 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.736e-05/0.155, allocations: 0 / 0.6661 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.52e-05/0.1551, allocations: 0 / 0.6661 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.177e-05/0.1551, allocations: 7.922 kB / 0.6661 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.1557, allocations: 103.5 kB / 0.6662 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.132e-05/0.1558, allocations: 27.91 kB / 0.6662 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.066e-05/0.1559, allocations: 7.984 kB / 0.6662 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.147e-05/0.1559, allocations: 11.94 kB / 0.6662 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.287e-05/0.156, allocations: 7.984 kB / 0.6662 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.156, allocations: 4 kB / 0.6662 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.1563, allocations: 147.7 kB / 0.6664 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.1564, allocations: 11.94 kB / 0.6664 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.669e-05/0.1564, allocations: 4 kB / 0.6664 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.1566, allocations: 98.62 kB / 0.6665 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1566, allocations: 0 / 0.6665 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.883e-06/0.1566, allocations: 0 / 0.6665 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1567, allocations: 4 kB / 0.6665 GB, free: 3.918 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004741/0.1571, allocations: 348.3 kB / 0.6668 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.1572, allocations: 13.7 kB / 0.6668 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.1572, allocations: 30.75 kB / 0.6669 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004344/0.1577, allocations: 32.89 kB / 0.6669 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1578, allocations: 164.4 kB / 0.667 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1578, allocations: 4.375 kB / 0.667 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1578, allocations: 4.281 kB / 0.667 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.158, allocations: 62.14 kB / 0.6671 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.158, allocations: 3.938 kB / 0.6671 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1581, allocations: 3.938 kB / 0.6671 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1581, allocations: 3.938 kB / 0.6671 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.1582, allocations: 35.97 kB / 0.6672 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.1584, allocations: 161.7 kB / 0.6673 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003175/0.1587, allocations: 70.52 kB / 0.6674 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.45e-05/0.1588, allocations: 28.94 kB / 0.6674 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.1588, allocations: 0 / 0.6674 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1589, allocations: 30.56 kB / 0.6674 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1589, allocations: 0 / 0.6674 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003344/0.1622, allocations: 0.588 MB / 0.668 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1623, allocations: 51.41 kB / 0.6681 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.804e-05/0.1623, allocations: 93.86 kB / 0.6681 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1624, allocations: 25.7 kB / 0.6682 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.1624, allocations: 80.14 kB / 0.6682 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.1625, allocations: 27.64 kB / 0.6683 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/0.1625, allocations: 25.83 kB / 0.6683 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1626, allocations: 326.8 kB / 0.6686 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.1628, allocations: 31.97 kB / 0.6686 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.1629, allocations: 39.91 kB / 0.6687 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.1632, allocations: 80.81 kB / 0.6688 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.1632, allocations: 4 kB / 0.6688 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003497/0.1636, allocations: 121.6 kB / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1636, allocations: 4 kB / 0.6689 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1636, allocations: 4 kB / 0.6689 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1636, allocations: 0 / 0.6689 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.1638, allocations: 23.97 kB / 0.6689 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1639, allocations: 0 / 0.6689 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.164, allocations: 11.94 kB / 0.6689 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.164, allocations: 7.984 kB / 0.6689 GB, free: 1.133 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.044e-05/0.1641, allocations: 105.8 kB / 0.669 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.1641, allocations: 11.94 kB / 0.669 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.1642, allocations: 11.91 kB / 0.669 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.1642, allocations: 3.984 kB / 0.669 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1642, allocations: 0 / 0.669 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1642, allocations: 0 / 0.669 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.1644, allocations: 203.5 kB / 0.6692 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1644, allocations: 0 / 0.6692 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.1646, allocations: 27.91 kB / 0.6693 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1646, allocations: 0 / 0.6693 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.1647, allocations: 0 / 0.6693 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1647, allocations: 0 / 0.6693 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1647, allocations: 4 kB / 0.6693 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005475/0.1652, allocations: 196.9 kB / 0.6695 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.1653, allocations: 81.05 kB / 0.6695 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.1653, allocations: 0 / 0.6695 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.1655, allocations: 16.08 kB / 0.6696 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.1655, allocations: 8 kB / 0.6696 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.1655, allocations: 3.984 kB / 0.6696 GB, free: 384 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.305e-05/0.1656, allocations: 79.28 kB / 0.6696 GB, free: 304 kB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.1656, allocations: 0 / 0.6696 GB, free: 304 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002612/0.1659, allocations: 32 kB / 0.6697 GB, free: 272 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009128/0.1668, allocations: 0.7503 MB / 0.6704 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003561/0.1671, allocations: 91.98 kB / 0.6705 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1672, allocations: 0 / 0.6705 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.1673, allocations: 51.89 kB / 0.6705 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.1676, allocations: 5.422 kB / 0.6705 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.1696, allocations: 1.361 MB / 0.6719 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1698, allocations: 0.6768 MB / 0.6725 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001585/0.17, allocations: 28.06 kB / 0.6726 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.777e-05/0.1701, allocations: 23.41 kB / 0.6726 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.1701, allocations: 0 / 0.6726 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01937/0.1895, allocations: 2.488 MB / 0.675 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.627/7.816, allocations: 13.83 kB / 0.675 GB, free: 10.83 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)