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.004971/0.004971, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001098/0.001098, allocations: 198.4 kB / 16.68 MB, free: 5.926 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 287.8 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9362/0.9362, allocations: 169.2 MB / 0.4983 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 103.8 kB / 0.6809 GB, free: 7.512 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.454, allocations: 86.97 MB / 0.7659 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002411/0.4564, allocations: 1.257 MB / 0.7671 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003763/0.4602, allocations: 2.932 MB / 0.77 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.4603, allocations: 8 kB / 0.77 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.4603, allocations: 0 / 0.77 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.578e-05/0.4604, allocations: 11.91 kB / 0.77 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.4609, allocations: 95.5 kB / 0.7701 GB, free: 15.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.122e-05/0.461, allocations: 39.89 kB / 0.7701 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.461, allocations: 0 / 0.7701 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004674/0.4615, allocations: 162.3 kB / 0.7703 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.976e-05/0.4616, allocations: 15.92 kB / 0.7703 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.4616, allocations: 4 kB / 0.7703 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.4617, allocations: 63.88 kB / 0.7703 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/0.4618, allocations: 11.98 kB / 0.7704 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.661e-05/0.4618, allocations: 11.92 kB / 0.7704 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.462, allocations: 63.86 kB / 0.7704 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.462, allocations: 0 / 0.7704 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.462, allocations: 0 / 0.7704 GB, free: 15.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.462, allocations: 4 kB / 0.7704 GB, free: 15.21 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.0004353/0.4624, allocations: 351.4 kB / 0.7708 GB, free: 14.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.4625, allocations: 8.031 kB / 0.7708 GB, free: 14.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.4625, allocations: 34.75 kB / 0.7708 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.4626, allocations: 0.9375 kB / 0.7708 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.86e-05/0.4627, allocations: 168.3 kB / 0.771 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.4627, allocations: 4.375 kB / 0.771 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.4627, allocations: 4.375 kB / 0.771 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.4628, allocations: 61.55 kB / 0.771 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.4629, allocations: 0 / 0.771 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4629, allocations: 4 kB / 0.771 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.4629, allocations: 0 / 0.771 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.137e-05/0.4629, allocations: 27.91 kB / 0.7711 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.4631, allocations: 165.5 kB / 0.7712 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.057e-05/0.4632, allocations: 54.56 kB / 0.7713 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.4632, allocations: 24.84 kB / 0.7713 GB, free: 14.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008323/0.4641, allocations: 0.5947 MB / 0.7719 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.4641, allocations: 30.56 kB / 0.7719 GB, free: 13.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.4641, allocations: 0 / 0.7719 GB, free: 13.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006661/0.4648, allocations: 318.7 kB / 0.7722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.4649, allocations: 51.41 kB / 0.7723 GB, free: 13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.673e-05/0.4649, allocations: 109.8 kB / 0.7724 GB, free: 12.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.465, allocations: 25.7 kB / 0.7724 GB, free: 12.85 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.465, allocations: 88.05 kB / 0.7725 GB, free: 12.76 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.4651, allocations: 27.64 kB / 0.7725 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.4651, allocations: 25.7 kB / 0.7725 GB, free: 12.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4652, allocations: 318.8 kB / 0.7728 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.4652, allocations: 12 kB / 0.7728 GB, free: 12.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.373e-05/0.4653, allocations: 53.14 kB / 0.7729 GB, free: 12.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.978e-05/0.4654, allocations: 73.25 kB / 0.773 GB, free: 12.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4654, allocations: 0 / 0.773 GB, free: 12.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000137/0.4655, allocations: 105.4 kB / 0.7731 GB, free: 12.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4656, allocations: 11.94 kB / 0.7731 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4656, allocations: 0 / 0.7731 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4656, allocations: 4 kB / 0.7731 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.693e-05/0.4657, allocations: 19.98 kB / 0.7731 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4657, allocations: 0 / 0.7731 GB, free: 12.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.4657, allocations: 7.938 kB / 0.7731 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.4657, allocations: 4 kB / 0.7731 GB, free: 12.05 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.611e-05/0.4658, allocations: 124.3 kB / 0.7732 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.4659, allocations: 0 / 0.7732 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.4659, allocations: 7.969 kB / 0.7732 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4659, allocations: 4 kB / 0.7732 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4659, allocations: 0 / 0.7732 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4659, allocations: 3.938 kB / 0.7732 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.4662, allocations: 173.7 kB / 0.7734 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4662, allocations: 0 / 0.7734 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.39e-05/0.4663, allocations: 15.98 kB / 0.7734 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4663, allocations: 0 / 0.7734 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.4663, allocations: 8 kB / 0.7734 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4663, allocations: 0 / 0.7734 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4663, allocations: 0 / 0.7734 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.4665, allocations: 183.2 kB / 0.7736 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.4665, allocations: 85.11 kB / 0.7737 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.4666, allocations: 4.031 kB / 0.7737 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.4667, allocations: 4 kB / 0.7737 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.4667, allocations: 3.938 kB / 0.7737 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.4667, allocations: 8 kB / 0.7737 GB, free: 11.35 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.72e-05/0.4668, allocations: 87.27 kB / 0.7738 GB, free: 11.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4668, allocations: 0 / 0.7738 GB, free: 11.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002318/0.467, allocations: 8 kB / 0.7738 GB, free: 11.25 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.0004401/0.4674, allocations: 0.7124 MB / 0.7745 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.4676, allocations: 48.66 kB / 0.7745 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4676, allocations: 0 / 0.7745 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.316e-05/0.4676, allocations: 15.98 kB / 0.7746 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.4679, allocations: 16.86 kB / 0.7746 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.4693, allocations: 1.528 MB / 0.7761 GB, free: 8.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.4696, allocations: 0.6846 MB / 0.7767 GB, free: 8.082 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.327e-05/0.4696, allocations: 4 kB / 0.7767 GB, free: 8.078 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.4697, allocations: 19.42 kB / 0.7768 GB, free: 8.062 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4697, allocations: 0 / 0.7768 GB, free: 8.062 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.4897, allocations: 1.706 MB / 0.7784 GB, free: 6.504 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/7.448, allocations: 11.75 kB / 0.7784 GB, free: 6.496 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)