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.004751/0.004751, allocations: 104.5 kB / 15.73 MB, free: 6.051 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.001135/0.001135, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9336/0.9336, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.89 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4542, allocations: 80.91 MB / 0.6641 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001859/0.4561, allocations: 1.271 MB / 0.6654 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002752/0.4589, allocations: 2.928 MB / 0.6682 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.238e-05/0.4589, allocations: 1.406 kB / 0.6682 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.459, allocations: 0 / 0.6682 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.882e-05/0.459, allocations: 3.938 kB / 0.6682 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.4595, allocations: 105.5 kB / 0.6683 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.626e-05/0.4595, allocations: 39.17 kB / 0.6684 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.4596, allocations: 1.531 kB / 0.6684 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004071/0.46, allocations: 161.5 kB / 0.6685 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.938e-05/0.46, allocations: 23.12 kB / 0.6685 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.4601, allocations: 1.281 kB / 0.6685 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.4602, allocations: 61.27 kB / 0.6686 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.4602, allocations: 9.453 kB / 0.6686 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.4603, allocations: 19.61 kB / 0.6686 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.4604, allocations: 61.61 kB / 0.6687 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4604, allocations: 0 / 0.6687 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4605, allocations: 5.375 kB / 0.6687 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.4605, allocations: 0 / 0.6687 GB, free: 3.594 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.0003325/0.4608, allocations: 344.3 kB / 0.669 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.4608, allocations: 8.938 kB / 0.669 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.888e-05/0.4609, allocations: 40.2 kB / 0.6691 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.4609, allocations: 7.375 kB / 0.6691 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.176e-05/0.461, allocations: 161.9 kB / 0.6692 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.461, allocations: 5.906 kB / 0.6692 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.461, allocations: 11.91 kB / 0.6692 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.4612, allocations: 61.91 kB / 0.6693 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4612, allocations: 0 / 0.6693 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.4612, allocations: 5.188 kB / 0.6693 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4612, allocations: 1.188 kB / 0.6693 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.075e-05/0.4613, allocations: 14.61 kB / 0.6693 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.4614, allocations: 169.7 kB / 0.6695 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.311e-05/0.4615, allocations: 52.56 kB / 0.6695 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.683e-05/0.4615, allocations: 27.28 kB / 0.6696 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000546/0.4621, allocations: 0.5894 MB / 0.6701 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.4621, allocations: 36.84 kB / 0.6702 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.4621, allocations: 0 / 0.6702 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005024/0.4626, allocations: 299.6 kB / 0.6705 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.4626, allocations: 53.03 kB / 0.6705 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.807e-05/0.4627, allocations: 100.7 kB / 0.6706 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.083e-05/0.4627, allocations: 34.7 kB / 0.6706 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.723e-05/0.4627, allocations: 89.52 kB / 0.6707 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.4628, allocations: 31.02 kB / 0.6708 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.4628, allocations: 25.06 kB / 0.6708 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.25e-05/0.4628, allocations: 316.6 kB / 0.6711 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.671e-05/0.4629, allocations: 15.53 kB / 0.6711 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.241e-05/0.4629, allocations: 53.89 kB / 0.6711 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.192e-05/0.463, allocations: 78.22 kB / 0.6712 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.463, allocations: 3.938 kB / 0.6712 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001145/0.4631, allocations: 91.52 kB / 0.6713 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4632, allocations: 5.594 kB / 0.6713 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4632, allocations: 1.031 kB / 0.6713 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.4632, allocations: 2.656 kB / 0.6713 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.4633, allocations: 19.84 kB / 0.6713 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.4633, allocations: 6.312 kB / 0.6713 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.839e-05/0.4633, allocations: 10.88 kB / 0.6714 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.4633, allocations: 7.516 kB / 0.6714 GB, free: 0.7578 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.399e-05/0.4634, allocations: 116.4 kB / 0.6715 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.4634, allocations: 6.344 kB / 0.6715 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.4634, allocations: 9.469 kB / 0.6715 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4635, allocations: 1.469 kB / 0.6715 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.4635, allocations: 3.938 kB / 0.6715 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4635, allocations: 4.375 kB / 0.6715 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.4637, allocations: 177.8 kB / 0.6717 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4637, allocations: 0 / 0.6717 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.287e-05/0.4638, allocations: 25.39 kB / 0.6717 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.4638, allocations: 1.406 kB / 0.6717 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.4638, allocations: 0 / 0.6717 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.4638, allocations: 1.562 kB / 0.6717 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4638, allocations: 3.938 kB / 0.6717 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.4639, allocations: 173.2 kB / 0.6719 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.464, allocations: 87.33 kB / 0.6719 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.464, allocations: 1.219 kB / 0.6719 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/0.4641, allocations: 10.25 kB / 0.672 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.4641, allocations: 9.344 kB / 0.672 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.4641, allocations: 2.594 kB / 0.672 GB, free: 128 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.044e-05/0.4642, allocations: 78.16 kB / 0.672 GB, free: 52 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4642, allocations: 0 / 0.672 GB, free: 52 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002363/0.4644, allocations: 14.59 kB / 0.6721 GB, free: 48 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.0004731/0.4649, allocations: 0.7052 MB / 0.6727 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.465, allocations: 47.25 kB / 0.6728 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.465, allocations: 1.531 kB / 0.6728 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.53e-05/0.4651, allocations: 14.03 kB / 0.6728 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.4654, allocations: 15.78 kB / 0.6728 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.4669, allocations: 1.529 MB / 0.6743 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.4671, allocations: 0.6902 MB / 0.675 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.632e-05/0.4672, allocations: 2.75 kB / 0.675 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.4672, allocations: 19.44 kB / 0.675 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.4672, allocations: 0 / 0.675 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.4875, allocations: 1.659 MB / 0.6766 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.217/7.704, allocations: 4.312 kB / 0.6766 GB, free: 12.21 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)