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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00592/0.00592, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001198/0.001198, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9365/0.9365, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 59.91 kB / 0.5851 GB, free: 3.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.4571, allocations: 80.92 MB / 0.6641 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001972/0.4592, allocations: 1.267 MB / 0.6654 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002763/0.4619, allocations: 2.921 MB / 0.6682 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.462, allocations: 0 / 0.6682 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.462, allocations: 7.922 kB / 0.6682 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.696e-05/0.4621, allocations: 5 kB / 0.6682 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.4625, allocations: 97.08 kB / 0.6683 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.059e-05/0.4626, allocations: 37.72 kB / 0.6684 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.4626, allocations: 6.688 kB / 0.6684 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004303/0.4631, allocations: 161 kB / 0.6685 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.4631, allocations: 18.34 kB / 0.6685 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.4631, allocations: 1.594 kB / 0.6685 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.4633, allocations: 65.17 kB / 0.6686 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.4633, allocations: 6.859 kB / 0.6686 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.989e-05/0.4633, allocations: 18.05 kB / 0.6686 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.4635, allocations: 61.84 kB / 0.6687 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4635, allocations: 1.5 kB / 0.6687 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.4635, allocations: 4 kB / 0.6687 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.4635, allocations: 0 / 0.6687 GB, free: 3.621 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003599/0.4639, allocations: 343.6 kB / 0.669 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.464, allocations: 9.781 kB / 0.669 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.464, allocations: 32.19 kB / 0.6691 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.063e-05/0.464, allocations: 7.625 kB / 0.6691 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.267e-05/0.4641, allocations: 173.6 kB / 0.6692 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.4641, allocations: 6.875 kB / 0.6692 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.123e-05/0.4641, allocations: 6.906 kB / 0.6692 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.4643, allocations: 62.47 kB / 0.6693 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.4643, allocations: 0 / 0.6693 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.4643, allocations: 1.188 kB / 0.6693 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.4643, allocations: 1.094 kB / 0.6693 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.236e-05/0.4644, allocations: 18.17 kB / 0.6693 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.4645, allocations: 165.5 kB / 0.6695 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.573e-05/0.4646, allocations: 51.5 kB / 0.6695 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.4646, allocations: 24.36 kB / 0.6695 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005829/0.4652, allocations: 0.602 MB / 0.6701 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.4652, allocations: 31.97 kB / 0.6702 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.4653, allocations: 0 / 0.6702 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005673/0.4658, allocations: 304 kB / 0.6705 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.4659, allocations: 56.47 kB / 0.6705 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.341e-05/0.4659, allocations: 113.6 kB / 0.6706 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.466, allocations: 27.14 kB / 0.6706 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.466, allocations: 87.98 kB / 0.6707 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.466, allocations: 23.53 kB / 0.6707 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.4661, allocations: 29.33 kB / 0.6708 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.138e-05/0.4661, allocations: 316 kB / 0.6711 GB, free: 1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.817e-05/0.4661, allocations: 20.86 kB / 0.6711 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.555e-05/0.4662, allocations: 52.67 kB / 0.6711 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.504e-05/0.4663, allocations: 70.09 kB / 0.6712 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4663, allocations: 1.469 kB / 0.6712 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001318/0.4664, allocations: 93.52 kB / 0.6713 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4665, allocations: 6.438 kB / 0.6713 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4665, allocations: 0.9375 kB / 0.6713 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.4665, allocations: 2.844 kB / 0.6713 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.675e-05/0.4666, allocations: 24.52 kB / 0.6713 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4666, allocations: 1.469 kB / 0.6713 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.623e-05/0.4666, allocations: 9.531 kB / 0.6714 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.4666, allocations: 4.219 kB / 0.6714 GB, free: 0.7852 MB / 0.4981 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 5.857e-05/0.4667, allocations: 121.6 kB / 0.6715 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.4667, allocations: 6.406 kB / 0.6715 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.78e-05/0.4668, allocations: 13.11 kB / 0.6715 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4668, allocations: 0 / 0.6715 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4668, allocations: 1.125 kB / 0.6715 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4668, allocations: 3.938 kB / 0.6715 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.467, allocations: 181.6 kB / 0.6717 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.467, allocations: 1.375 kB / 0.6717 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.912e-05/0.4671, allocations: 11.84 kB / 0.6717 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4671, allocations: 1.562 kB / 0.6717 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.4671, allocations: 0 / 0.6717 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4671, allocations: 5.531 kB / 0.6717 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4671, allocations: 0 / 0.6717 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.4673, allocations: 173 kB / 0.6719 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.4673, allocations: 87.77 kB / 0.6719 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.4673, allocations: 13.16 kB / 0.6719 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.4674, allocations: 2.531 kB / 0.6719 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.4674, allocations: 9.578 kB / 0.672 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.4675, allocations: 2.156 kB / 0.672 GB, free: 156 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.18e-05/0.4675, allocations: 82.5 kB / 0.672 GB, free: 76 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4675, allocations: 0 / 0.672 GB, free: 76 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002294/0.4677, allocations: 10.03 kB / 0.672 GB, free: 76 kB / 0.4981 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.0004433/0.4682, allocations: 0.7102 MB / 0.6727 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.4683, allocations: 46.92 kB / 0.6728 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4683, allocations: 3.938 kB / 0.6728 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.367e-05/0.4683, allocations: 15.67 kB / 0.6728 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.4686, allocations: 12.47 kB / 0.6728 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.4701, allocations: 1.532 MB / 0.6743 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/0.4703, allocations: 0.682 MB / 0.675 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.327e-05/0.4704, allocations: 6.703 kB / 0.675 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.4704, allocations: 11.41 kB / 0.675 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.4704, allocations: 5.25 kB / 0.675 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.4898, allocations: 1.674 MB / 0.6766 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.284/7.774, allocations: 1.312 kB / 0.6766 GB, free: 12.23 MB / 0.5137 GB (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)