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.004927/0.004927, allocations: 95.17 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.00131/0.00131, allocations: 206.5 kB / 16.68 MB, free: 5.973 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.047/1.047, allocations: 135.5 MB / 426.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 59.89 kB / 0.5857 GB, free: 3.285 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3768, allocations: 81.03 MB / 0.6648 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001851/0.3786, allocations: 1.26 MB / 0.6661 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002767/0.3814, allocations: 2.928 MB / 0.6689 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.261e-05/0.3815, allocations: 1.094 kB / 0.6689 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.3815, allocations: 0 / 0.6689 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.34e-05/0.3816, allocations: 9.297 kB / 0.6689 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.382, allocations: 100.2 kB / 0.669 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.378e-05/0.3821, allocations: 33.3 kB / 0.6691 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.424e-05/0.3821, allocations: 10.8 kB / 0.6691 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004186/0.3826, allocations: 156.8 kB / 0.6692 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.113e-05/0.3826, allocations: 22.5 kB / 0.6692 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.3826, allocations: 2.719 kB / 0.6693 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.3828, allocations: 64.72 kB / 0.6693 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.3828, allocations: 1.438 kB / 0.6693 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.3828, allocations: 23.09 kB / 0.6693 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.383, allocations: 59.23 kB / 0.6694 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.383, allocations: 1.344 kB / 0.6694 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.383, allocations: 0 / 0.6694 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.383, allocations: 4 kB / 0.6694 GB, free: 3.211 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.0003113/0.3834, allocations: 348.9 kB / 0.6697 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3834, allocations: 9.844 kB / 0.6697 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.486e-05/0.3834, allocations: 31.81 kB / 0.6698 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.3835, allocations: 12.05 kB / 0.6698 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.837e-05/0.3835, allocations: 165.5 kB / 0.6699 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3835, allocations: 9.797 kB / 0.6699 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.3836, allocations: 4.188 kB / 0.67 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.3837, allocations: 66.27 kB / 0.67 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3837, allocations: 0 / 0.67 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3837, allocations: 1.656 kB / 0.67 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.3837, allocations: 0 / 0.67 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.901e-05/0.3838, allocations: 18.22 kB / 0.67 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001196/0.3839, allocations: 162 kB / 0.6702 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.681e-05/0.384, allocations: 52.81 kB / 0.6702 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.384, allocations: 26.66 kB / 0.6703 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005431/0.3846, allocations: 0.5992 MB / 0.6709 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.3846, allocations: 30.56 kB / 0.6709 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.783e-06/0.3846, allocations: 1.312 kB / 0.6709 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0005201/0.3851, allocations: 310.4 kB / 0.6712 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.3852, allocations: 56.77 kB / 0.6712 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.206e-05/0.3852, allocations: 102 kB / 0.6713 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.3852, allocations: 27.17 kB / 0.6714 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.315e-05/0.3853, allocations: 89.12 kB / 0.6714 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.19e-05/0.3853, allocations: 22.59 kB / 0.6715 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.3853, allocations: 29.3 kB / 0.6715 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.093e-05/0.3854, allocations: 320.2 kB / 0.6718 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.607e-05/0.3854, allocations: 12.56 kB / 0.6718 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.885e-05/0.3855, allocations: 53.17 kB / 0.6719 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.013e-05/0.3855, allocations: 73.77 kB / 0.6719 GB, free: 468 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3855, allocations: 1.344 kB / 0.6719 GB, free: 468 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001217/0.3857, allocations: 99.03 kB / 0.672 GB, free: 400 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3857, allocations: 5.031 kB / 0.672 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3857, allocations: 1.125 kB / 0.672 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.3857, allocations: 2.531 kB / 0.672 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.232e-05/0.3858, allocations: 24.7 kB / 0.6721 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3858, allocations: 2.875 kB / 0.6721 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.834e-05/0.3858, allocations: 8.906 kB / 0.6721 GB, free: 384 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.3859, allocations: 4.469 kB / 0.6721 GB, free: 384 kB / 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 4.735e-05/0.3859, allocations: 120.4 kB / 0.6722 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.386, allocations: 6.766 kB / 0.6722 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.386, allocations: 9.406 kB / 0.6722 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.386, allocations: 448 / 0.6722 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.386, allocations: 1.344 kB / 0.6722 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.386, allocations: 3.938 kB / 0.6722 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.3862, allocations: 182.2 kB / 0.6724 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3862, allocations: 4 kB / 0.6724 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.185e-05/0.3863, allocations: 17.02 kB / 0.6724 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3863, allocations: 5.094 kB / 0.6724 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3863, allocations: 3.938 kB / 0.6724 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3863, allocations: 1.125 kB / 0.6724 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3863, allocations: 0 / 0.6724 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.3865, allocations: 173.2 kB / 0.6726 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.3866, allocations: 83.66 kB / 0.6727 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.3866, allocations: 5.094 kB / 0.6727 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3867, allocations: 10.5 kB / 0.6727 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.3867, allocations: 6.719 kB / 0.6727 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.3868, allocations: 1.25 kB / 0.6727 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.3868, allocations: 78.5 kB / 0.6728 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3868, allocations: 0 / 0.6728 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002409/0.3871, allocations: 17.92 kB / 0.6728 GB, free: 15.66 MB / 0.5137 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.0004741/0.3875, allocations: 0.7131 MB / 0.6735 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.3877, allocations: 42.17 kB / 0.6735 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3877, allocations: 0 / 0.6735 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.227e-05/0.3877, allocations: 11.69 kB / 0.6735 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.388, allocations: 11.62 kB / 0.6735 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3895, allocations: 1.532 MB / 0.675 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.3898, allocations: 0.6828 MB / 0.6757 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.962e-05/0.3899, allocations: 3.219 kB / 0.6757 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.631e-05/0.3899, allocations: 14.56 kB / 0.6757 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.3899, allocations: 5.156 kB / 0.6757 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02251/0.4124, allocations: 1.663 MB / 0.6773 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.141, allocations: 5.781 kB / 0.6773 GB, free: 11.83 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)