Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 111.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.34 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9778/0.9778, allocations: 175.7 MB / 480.1 MB, free: 2.805 MB / 366.1 MB " [Timeout remaining time 179] 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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 67.34 kB / 0.6677 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.156, allocations: 94.53 MB / 0.76 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002287/0.1583, allocations: 1.256 MB / 0.7613 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003663/0.162, allocations: 2.991 MB / 0.7642 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.696e-05/0.162, allocations: 0 / 0.7642 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.162, allocations: 4 kB / 0.7642 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.113e-05/0.1621, allocations: 7.922 kB / 0.7642 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.1625, allocations: 99.55 kB / 0.7643 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.787e-05/0.1626, allocations: 39.84 kB / 0.7643 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.509e-05/0.1626, allocations: 7.984 kB / 0.7643 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004612/0.1631, allocations: 167.6 kB / 0.7645 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.1631, allocations: 19.92 kB / 0.7645 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1631, allocations: 4 kB / 0.7645 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.1633, allocations: 71.86 kB / 0.7646 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.1633, allocations: 4 kB / 0.7646 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.1633, allocations: 15.94 kB / 0.7646 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.1635, allocations: 63.78 kB / 0.7647 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1635, allocations: 0 / 0.7647 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.244e-06/0.1635, allocations: 0 / 0.7647 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.1635, allocations: 0 / 0.7647 GB, free: 12.07 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004467/0.164, allocations: 351.4 kB / 0.765 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.164, allocations: 15.97 kB / 0.765 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.961e-05/0.164, allocations: 34.75 kB / 0.765 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.1641, allocations: 4.938 kB / 0.7651 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.1642, allocations: 164.3 kB / 0.7652 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.1642, allocations: 4.375 kB / 0.7652 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.1642, allocations: 12.33 kB / 0.7652 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1644, allocations: 57.59 kB / 0.7653 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.1644, allocations: 0 / 0.7653 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1644, allocations: 0 / 0.7653 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1644, allocations: 0 / 0.7653 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.828e-05/0.1645, allocations: 35.89 kB / 0.7653 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.1646, allocations: 165.6 kB / 0.7655 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.285e-05/0.1647, allocations: 42.56 kB / 0.7655 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.1648, allocations: 16.84 kB / 0.7655 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007212/0.1655, allocations: 0.5907 MB / 0.7661 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1655, allocations: 34.56 kB / 0.7661 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1655, allocations: 0 / 0.7661 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005675/0.1661, allocations: 314.5 kB / 0.7664 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.1661, allocations: 51.41 kB / 0.7665 GB, free: 9.859 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.1662, allocations: 105.8 kB / 0.7666 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.1662, allocations: 25.7 kB / 0.7666 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.1663, allocations: 96.09 kB / 0.7667 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.1663, allocations: 27.73 kB / 0.7667 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.1663, allocations: 21.72 kB / 0.7668 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1665, allocations: 322.8 kB / 0.7671 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.711e-05/0.1665, allocations: 12 kB / 0.7671 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.1665, allocations: 57.08 kB / 0.7671 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.468e-05/0.1666, allocations: 77.19 kB / 0.7672 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1666, allocations: 0 / 0.7672 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001431/0.1668, allocations: 97.61 kB / 0.7673 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1668, allocations: 10.03 kB / 0.7673 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.1668, allocations: 0 / 0.7673 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1668, allocations: 4 kB / 0.7673 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.152e-05/0.1669, allocations: 16 kB / 0.7673 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1669, allocations: 3.984 kB / 0.7673 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.816e-05/0.1669, allocations: 7.938 kB / 0.7673 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.1669, allocations: 4 kB / 0.7673 GB, free: 8.914 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.455e-05/0.167, allocations: 117.8 kB / 0.7674 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.1671, allocations: 8.016 kB / 0.7675 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.1671, allocations: 11.97 kB / 0.7675 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1671, allocations: 3.938 kB / 0.7675 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1671, allocations: 0 / 0.7675 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.1671, allocations: 3.938 kB / 0.7675 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.1673, allocations: 173.7 kB / 0.7676 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1673, allocations: 0 / 0.7676 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.264e-05/0.1674, allocations: 15.98 kB / 0.7677 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1674, allocations: 4 kB / 0.7677 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1674, allocations: 0 / 0.7677 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1674, allocations: 4 kB / 0.7677 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1674, allocations: 0 / 0.7677 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.1676, allocations: 183.7 kB / 0.7678 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.1677, allocations: 81.11 kB / 0.7679 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.1677, allocations: 4 kB / 0.7679 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1678, allocations: 12.03 kB / 0.7679 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.1678, allocations: 3.938 kB / 0.7679 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.1678, allocations: 4 kB / 0.7679 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.915e-05/0.1679, allocations: 87.28 kB / 0.768 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1679, allocations: 0 / 0.768 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002219/0.1681, allocations: 8 kB / 0.768 GB, free: 8.105 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (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 Backend phase and start with SimCode phase: time 0.0004708/0.1685, allocations: 0.7128 MB / 0.7687 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.1687, allocations: 44.02 kB / 0.7688 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.1687, allocations: 4 kB / 0.7688 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.143e-05/0.1687, allocations: 11.94 kB / 0.7688 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.1689, allocations: 15.94 kB / 0.7688 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1704, allocations: 1.523 MB / 0.7703 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1707, allocations: 0.6885 MB / 0.771 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.819e-05/0.1707, allocations: 4 kB / 0.771 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.1708, allocations: 15.44 kB / 0.771 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1708, allocations: 0 / 0.771 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.194, allocations: 1.651 MB / 0.7726 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.947/7.141, allocations: 9 kB / 0.7726 GB, free: 3.344 MB / 0.5762 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.56261043199629]