Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IDEAS_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.007103/0.007102, 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.00133/0.00133, 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8123/0.8123, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.91 kB / 0.5808 GB, free: 8.109 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5059/0.5073, allocations: 80.2 MB / 0.6592 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002489/0.5098, allocations: 1.262 MB / 0.6604 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00368/0.5135, allocations: 2.928 MB / 0.6632 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.5136, allocations: 4 kB / 0.6632 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.104e-05/0.5136, allocations: 0.8438 kB / 0.6632 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.5137, allocations: 5.844 kB / 0.6633 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.5142, allocations: 101.1 kB / 0.6633 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.913e-05/0.5143, allocations: 31.89 kB / 0.6634 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.5143, allocations: 3.531 kB / 0.6634 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004811/0.5148, allocations: 164.4 kB / 0.6635 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.618e-05/0.5149, allocations: 25.67 kB / 0.6636 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.5149, allocations: 1.531 kB / 0.6636 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.5151, allocations: 58.73 kB / 0.6636 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.5151, allocations: 8.469 kB / 0.6636 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.5151, allocations: 21.06 kB / 0.6636 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.5153, allocations: 58.98 kB / 0.6637 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5153, allocations: 1 kB / 0.6637 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5153, allocations: 0 / 0.6637 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.5153, allocations: 0 / 0.6637 GB, free: 6.664 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.0003837/0.5157, allocations: 351 kB / 0.664 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5158, allocations: 10 kB / 0.6641 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.5158, allocations: 41.33 kB / 0.6641 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/0.5159, allocations: 3.25 kB / 0.6641 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.706e-05/0.5159, allocations: 166.8 kB / 0.6643 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.516, allocations: 2.562 kB / 0.6643 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.516, allocations: 8.188 kB / 0.6643 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.5161, allocations: 56.73 kB / 0.6643 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5161, allocations: 1.125 kB / 0.6643 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.5162, allocations: 5.031 kB / 0.6643 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.5162, allocations: 0 / 0.6643 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.818e-05/0.5162, allocations: 20.05 kB / 0.6643 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.5164, allocations: 178.4 kB / 0.6645 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.399e-05/0.5165, allocations: 48.72 kB / 0.6646 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.5165, allocations: 15.98 kB / 0.6646 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.5172, allocations: 0.6057 MB / 0.6652 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.5172, allocations: 31.69 kB / 0.6652 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.5172, allocations: 3.938 kB / 0.6652 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006196/0.5178, allocations: 299.4 kB / 0.6655 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.5179, allocations: 60.59 kB / 0.6655 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/0.518, allocations: 109.9 kB / 0.6656 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.518, allocations: 30.42 kB / 0.6657 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.518, allocations: 86.2 kB / 0.6658 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.5181, allocations: 25.95 kB / 0.6658 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.5181, allocations: 25.97 kB / 0.6658 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.5182, allocations: 312 kB / 0.6661 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/0.5182, allocations: 16.95 kB / 0.6661 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/0.5183, allocations: 52.36 kB / 0.6662 GB, free: 4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.922e-05/0.5184, allocations: 74.81 kB / 0.6662 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.5184, allocations: 0 / 0.6662 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001311/0.5185, allocations: 99.02 kB / 0.6663 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.5185, allocations: 7.094 kB / 0.6663 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.5186, allocations: 1.344 kB / 0.6663 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.5186, allocations: 3.781 kB / 0.6663 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.855e-05/0.5187, allocations: 19.8 kB / 0.6664 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.5187, allocations: 1.281 kB / 0.6664 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.393e-05/0.5187, allocations: 10.62 kB / 0.6664 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.5187, allocations: 3.875 kB / 0.6664 GB, free: 3.852 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 6.947e-05/0.5188, allocations: 124.4 kB / 0.6665 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.5188, allocations: 2.625 kB / 0.6665 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.253e-05/0.5189, allocations: 13.55 kB / 0.6665 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5189, allocations: 448 / 0.6665 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.5189, allocations: 1.625 kB / 0.6665 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5189, allocations: 3.938 kB / 0.6665 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.5191, allocations: 177.6 kB / 0.6667 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5191, allocations: 0 / 0.6667 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.762e-05/0.5192, allocations: 13.25 kB / 0.6667 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.5192, allocations: 1.219 kB / 0.6667 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.5193, allocations: 15.92 kB / 0.6667 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5193, allocations: 1 kB / 0.6667 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5193, allocations: 0 / 0.6667 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001757/0.5195, allocations: 177.3 kB / 0.6669 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.5195, allocations: 83.58 kB / 0.667 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.5195, allocations: 1.219 kB / 0.667 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.5196, allocations: 2.25 kB / 0.667 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.5197, allocations: 18.12 kB / 0.667 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.5197, allocations: 10.81 kB / 0.667 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.62e-05/0.5197, allocations: 77.59 kB / 0.6671 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5197, allocations: 0 / 0.6671 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002512/0.52, allocations: 13.88 kB / 0.6671 GB, free: 3.121 MB / 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.0003607/0.5203, allocations: 0.708 MB / 0.6678 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.5205, allocations: 42.81 kB / 0.6678 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5205, allocations: 0 / 0.6678 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.5205, allocations: 20.05 kB / 0.6678 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.5208, allocations: 6.75 kB / 0.6678 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.522, allocations: 1.522 MB / 0.6693 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.5222, allocations: 0.6814 MB / 0.67 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.591e-05/0.5222, allocations: 15.53 kB / 0.67 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/0.5223, allocations: 15.66 kB / 0.67 GB, free: 212 kB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.5223, allocations: 0 / 0.67 GB, free: 212 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.5427, allocations: 1.669 MB / 0.6717 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/7.914, allocations: 10.66 kB / 0.6717 GB, free: 15.31 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)