Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.006853/0.006853, allocations: 100 kB / 15.73 MB, free: 6.02 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.00179/0.00179, allocations: 189.6 kB / 16.67 MB, free: 5.938 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.002121, allocations: 289.8 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9347/0.9347, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 99.84 kB / 0.6809 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3749, allocations: 86.97 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002095/0.377, allocations: 1.264 MB / 0.7671 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003407/0.3805, allocations: 2.928 MB / 0.77 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.018e-05/0.3805, allocations: 4 kB / 0.77 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.83e-05/0.3805, allocations: 0 / 0.77 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.854e-05/0.3806, allocations: 7.922 kB / 0.77 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.3811, allocations: 99.55 kB / 0.7701 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.032e-05/0.3811, allocations: 35.91 kB / 0.7701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.254e-05/0.3812, allocations: 8 kB / 0.7701 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000437/0.3816, allocations: 155.5 kB / 0.7703 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.3817, allocations: 19.92 kB / 0.7703 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.3817, allocations: 0 / 0.7703 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.3819, allocations: 67.81 kB / 0.7703 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.3819, allocations: 7.984 kB / 0.7704 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.3819, allocations: 15.94 kB / 0.7704 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.3821, allocations: 67.17 kB / 0.7704 GB, free: 15.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3821, allocations: 0 / 0.7704 GB, free: 15.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3821, allocations: 4 kB / 0.7704 GB, free: 15.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3821, allocations: 0 / 0.7704 GB, free: 15.17 MB / 0.545 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.0003716/0.3825, allocations: 345.1 kB / 0.7708 GB, free: 14.79 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.3825, allocations: 8.031 kB / 0.7708 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.3826, allocations: 38.75 kB / 0.7708 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.3826, allocations: 0.9375 kB / 0.7708 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.217e-05/0.3827, allocations: 172.3 kB / 0.771 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.3827, allocations: 384 / 0.771 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.3828, allocations: 8.375 kB / 0.771 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.3829, allocations: 61.55 kB / 0.771 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3829, allocations: 0 / 0.771 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3829, allocations: 4 kB / 0.771 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3829, allocations: 4 kB / 0.7711 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.438e-05/0.383, allocations: 11.98 kB / 0.7711 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.3831, allocations: 177.6 kB / 0.7712 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.177e-05/0.3832, allocations: 54.5 kB / 0.7713 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.988e-05/0.3833, allocations: 20.86 kB / 0.7713 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006335/0.3839, allocations: 0.5907 MB / 0.7719 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.384, allocations: 38.56 kB / 0.7719 GB, free: 13.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.384, allocations: 0 / 0.7719 GB, free: 13.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000543/0.3845, allocations: 306.6 kB / 0.7722 GB, free: 13.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.3846, allocations: 55.34 kB / 0.7723 GB, free: 12.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.338e-05/0.3846, allocations: 105.8 kB / 0.7724 GB, free: 12.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.3846, allocations: 29.7 kB / 0.7724 GB, free: 12.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.3847, allocations: 88.03 kB / 0.7725 GB, free: 12.72 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.3847, allocations: 27.75 kB / 0.7725 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.3848, allocations: 29.7 kB / 0.7725 GB, free: 12.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.727e-05/0.3849, allocations: 310.8 kB / 0.7728 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/0.3849, allocations: 19.98 kB / 0.7728 GB, free: 12.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.279e-05/0.385, allocations: 53.14 kB / 0.7729 GB, free: 12.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.17e-05/0.385, allocations: 73.27 kB / 0.773 GB, free: 12.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.385, allocations: 0 / 0.773 GB, free: 12.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001334/0.3852, allocations: 97.48 kB / 0.7731 GB, free: 12.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3852, allocations: 4 kB / 0.7731 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3852, allocations: 0 / 0.7731 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3852, allocations: 4 kB / 0.7731 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.003e-05/0.3853, allocations: 23.92 kB / 0.7731 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3853, allocations: 4 kB / 0.7731 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.066e-05/0.3854, allocations: 12.06 kB / 0.7731 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.3854, allocations: 4 kB / 0.7731 GB, free: 12.01 MB / 0.545 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 7.314e-05/0.3855, allocations: 125 kB / 0.7732 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.163e-05/0.3855, allocations: 7.953 kB / 0.7732 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.3855, allocations: 11.95 kB / 0.7732 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.3856, allocations: 0 / 0.7732 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3856, allocations: 0 / 0.7732 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3856, allocations: 3.938 kB / 0.7733 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.3858, allocations: 173.7 kB / 0.7734 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3858, allocations: 4.438 kB / 0.7734 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.856e-05/0.3859, allocations: 16 kB / 0.7734 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3859, allocations: 0 / 0.7734 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.3859, allocations: 4 kB / 0.7734 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.3859, allocations: 3.984 kB / 0.7734 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3859, allocations: 0 / 0.7734 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.3861, allocations: 179.4 kB / 0.7736 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.3862, allocations: 81.14 kB / 0.7737 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.3862, allocations: 8 kB / 0.7737 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3863, allocations: 4 kB / 0.7737 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.3863, allocations: 11.92 kB / 0.7737 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.3863, allocations: 0 / 0.7737 GB, free: 11.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.182e-05/0.3864, allocations: 79.28 kB / 0.7738 GB, free: 11.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3864, allocations: 0 / 0.7738 GB, free: 11.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002481/0.3866, allocations: 12 kB / 0.7738 GB, free: 11.21 MB / 0.545 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.0003985/0.387, allocations: 0.7162 MB / 0.7745 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.3872, allocations: 40.7 kB / 0.7745 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3872, allocations: 4 kB / 0.7745 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.632e-05/0.3872, allocations: 19.97 kB / 0.7746 GB, free: 10.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.3875, allocations: 12.88 kB / 0.7746 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.3888, allocations: 1.535 MB / 0.7761 GB, free: 8.742 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.389, allocations: 0.6846 MB / 0.7767 GB, free: 8.031 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.585e-05/0.389, allocations: 3.984 kB / 0.7767 GB, free: 8.027 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.3891, allocations: 15.44 kB / 0.7768 GB, free: 8.016 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.3891, allocations: 4 kB / 0.7768 GB, free: 8.012 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01671/0.4058, allocations: 1.688 MB / 0.7784 GB, free: 6.469 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.338/7.744, allocations: 6.625 kB / 0.7784 GB, free: 6.465 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)