Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.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.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce",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.005099/0.005099, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001128/0.001128, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7775/0.7775, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 73.3 kB / 0.5851 GB, free: 22.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1536, allocations: 80.92 MB / 0.6641 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce): time 0.002646/0.1563, allocations: 1.403 MB / 0.6655 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005618/0.1568, allocations: 283.1 kB / 0.6658 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.1569, allocations: 0 / 0.6658 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.1569, allocations: 7.875 kB / 0.6658 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.076e-05/0.157, allocations: 7.938 kB / 0.6658 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.1573, allocations: 59.73 kB / 0.6658 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.1574, allocations: 27.92 kB / 0.6659 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.861e-05/0.1575, allocations: 8 kB / 0.6659 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.1575, allocations: 11.94 kB / 0.6659 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.1576, allocations: 11.92 kB / 0.6659 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1576, allocations: 4 kB / 0.6659 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.1578, allocations: 91.83 kB / 0.666 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.1578, allocations: 0 / 0.666 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.1579, allocations: 15.92 kB / 0.666 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.158, allocations: 66.61 kB / 0.6661 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.158, allocations: 0 / 0.6661 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.158, allocations: 0 / 0.6661 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.1581, allocations: 4 kB / 0.6661 GB, free: 4.438 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004782/0.1585, allocations: 348.3 kB / 0.6664 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.1586, allocations: 9.109 kB / 0.6664 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.1586, allocations: 34.75 kB / 0.6665 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.1587, allocations: 8.844 kB / 0.6665 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.1588, allocations: 164.4 kB / 0.6666 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1588, allocations: 384 / 0.6666 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.1588, allocations: 4.375 kB / 0.6666 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.159, allocations: 54.23 kB / 0.6667 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.159, allocations: 3.938 kB / 0.6667 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1591, allocations: 3.938 kB / 0.6667 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1591, allocations: 4 kB / 0.6667 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001512/0.1592, allocations: 31.95 kB / 0.6667 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.1596, allocations: 245 kB / 0.667 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.1598, allocations: 42.5 kB / 0.667 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/0.1599, allocations: 24.91 kB / 0.667 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.1599, allocations: 3.984 kB / 0.667 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.1599, allocations: 34.5 kB / 0.6671 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1599, allocations: 0 / 0.6671 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003454/0.1603, allocations: 81.64 kB / 0.6671 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.1603, allocations: 55.41 kB / 0.6672 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.794e-05/0.1604, allocations: 93.86 kB / 0.6673 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1604, allocations: 29.7 kB / 0.6673 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.1605, allocations: 88.05 kB / 0.6674 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.1605, allocations: 0 / 0.6674 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.1606, allocations: 21.64 kB / 0.6674 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1607, allocations: 319 kB / 0.6677 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.83e-05/0.1608, allocations: 11.98 kB / 0.6677 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.05e-05/0.1609, allocations: 23.92 kB / 0.6677 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1611, allocations: 36.81 kB / 0.6678 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.1611, allocations: 3.938 kB / 0.6678 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001945/0.1613, allocations: 73.62 kB / 0.6679 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.1613, allocations: 4 kB / 0.6679 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1613, allocations: 3.938 kB / 0.6679 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1613, allocations: 4 kB / 0.6679 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.156e-05/0.1614, allocations: 4 kB / 0.6679 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1614, allocations: 0 / 0.6679 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/0.1615, allocations: 7.984 kB / 0.6679 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.1615, allocations: 0 / 0.6679 GB, free: 2.363 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 (2): * Single equations (assignments): 2 * 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.69e-05/0.1616, allocations: 117.8 kB / 0.668 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.1616, allocations: 7.938 kB / 0.668 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.1619, allocations: 76.69 kB / 0.6681 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.1619, allocations: 4 kB / 0.6681 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1619, allocations: 0 / 0.6681 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1619, allocations: 0 / 0.6681 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.1621, allocations: 157.6 kB / 0.6682 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1621, allocations: 4.031 kB / 0.6682 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.1622, allocations: 7.984 kB / 0.6682 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1622, allocations: 4 kB / 0.6682 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.1622, allocations: 0 / 0.6682 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1622, allocations: 0 / 0.6682 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1622, allocations: 0 / 0.6682 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.1624, allocations: 171.4 kB / 0.6684 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.1625, allocations: 81.02 kB / 0.6685 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.1625, allocations: 4 kB / 0.6685 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.1626, allocations: 7.984 kB / 0.6685 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.1626, allocations: 4 kB / 0.6685 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-06/0.1626, allocations: 0 / 0.6685 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.434e-05/0.1627, allocations: 87.27 kB / 0.6686 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1627, allocations: 0 / 0.6686 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002378/0.1629, allocations: 12 kB / 0.6686 GB, free: 1.527 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0005933/0.1635, allocations: 0.7136 MB / 0.6693 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.1638, allocations: 36 kB / 0.6693 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1638, allocations: 0 / 0.6693 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.862e-05/0.1639, allocations: 19.98 kB / 0.6693 GB, free: 0.7305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.1642, allocations: 4 kB / 0.6693 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.1646, allocations: 156.2 kB / 0.6695 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.1649, allocations: 0.6807 MB / 0.6702 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.165, allocations: 4 kB / 0.6702 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.708e-05/0.165, allocations: 15.44 kB / 0.6702 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.165, allocations: 0 / 0.6702 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.1844, allocations: 1.478 MB / 0.6716 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.301/7.485, allocations: 6.25 kB / 0.6716 GB, free: 14.43 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SublimationPressureIce.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SublimationPressureIce.pipe 2>&1)