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.008639/0.008639, allocations: 100.5 kB / 15.73 MB, free: 5.605 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.001798/0.001798, allocations: 189.4 kB / 16.67 MB, free: 5.527 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002586/0.002586, allocations: 292.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 91.86 kB / 0.6809 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4099, allocations: 86.98 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002305/0.4123, allocations: 1.264 MB / 0.7671 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00377/0.4161, allocations: 2.928 MB / 0.77 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.4161, allocations: 0 / 0.77 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.4161, allocations: 0 / 0.77 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.581e-05/0.4162, allocations: 3.938 kB / 0.77 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.4167, allocations: 107.5 kB / 0.7701 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.526e-05/0.4168, allocations: 31.91 kB / 0.7701 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.4168, allocations: 7.984 kB / 0.7701 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000445/0.4173, allocations: 147.5 kB / 0.7703 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.248e-05/0.4173, allocations: 23.91 kB / 0.7703 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.4173, allocations: 0 / 0.7703 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/0.4175, allocations: 67.81 kB / 0.7703 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.4175, allocations: 7.984 kB / 0.7703 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.4176, allocations: 15.94 kB / 0.7704 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.4177, allocations: 69.33 kB / 0.7704 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4178, allocations: 0 / 0.7704 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4178, allocations: 0 / 0.7704 GB, free: 15.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.4178, allocations: 3.938 kB / 0.7704 GB, free: 15.16 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.0004739/0.4183, allocations: 350.9 kB / 0.7708 GB, free: 14.77 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.4183, allocations: 12.03 kB / 0.7708 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.4184, allocations: 34.75 kB / 0.7708 GB, free: 14.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.4184, allocations: 4.938 kB / 0.7708 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.4185, allocations: 164.3 kB / 0.771 GB, free: 14.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.4185, allocations: 4.375 kB / 0.771 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.4186, allocations: 12.31 kB / 0.771 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.4187, allocations: 53.61 kB / 0.771 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4188, allocations: 0 / 0.771 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.4188, allocations: 4 kB / 0.771 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4188, allocations: 0 / 0.771 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.41e-05/0.4188, allocations: 19.97 kB / 0.7711 GB, free: 14.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.4191, allocations: 165.6 kB / 0.7712 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.4192, allocations: 58.5 kB / 0.7713 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.4192, allocations: 20.84 kB / 0.7713 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007779/0.42, allocations: 0.5909 MB / 0.7719 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.42, allocations: 34.56 kB / 0.7719 GB, free: 13.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.42, allocations: 0 / 0.7719 GB, free: 13.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006057/0.4207, allocations: 306.3 kB / 0.7722 GB, free: 13.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.4207, allocations: 55.34 kB / 0.7723 GB, free: 12.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.117e-05/0.4208, allocations: 105.8 kB / 0.7724 GB, free: 12.84 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.4208, allocations: 29.7 kB / 0.7724 GB, free: 12.81 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.4209, allocations: 92.03 kB / 0.7725 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.4209, allocations: 27.88 kB / 0.7725 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.421, allocations: 21.72 kB / 0.7725 GB, free: 12.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4211, allocations: 322.8 kB / 0.7728 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.4211, allocations: 12 kB / 0.7728 GB, free: 12.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.645e-05/0.4212, allocations: 49.14 kB / 0.7729 GB, free: 12.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.4213, allocations: 73.08 kB / 0.773 GB, free: 12.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4213, allocations: 7.938 kB / 0.773 GB, free: 12.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001431/0.4215, allocations: 98.16 kB / 0.7731 GB, free: 12.06 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.4215, allocations: 6.656 kB / 0.7731 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4215, allocations: 4 kB / 0.7731 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.4215, allocations: 128 / 0.7731 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.904e-05/0.4216, allocations: 23.94 kB / 0.7731 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.4216, allocations: 11.98 kB / 0.7731 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.4217, allocations: 3.938 kB / 0.7731 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.4217, allocations: 8 kB / 0.7731 GB, free: 12 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 8.878e-05/0.4218, allocations: 121.7 kB / 0.7732 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.4218, allocations: 7.953 kB / 0.7732 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.4218, allocations: 11.91 kB / 0.7732 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.4218, allocations: 0 / 0.7732 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4218, allocations: 0 / 0.7732 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4219, allocations: 7.938 kB / 0.7733 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.4221, allocations: 173.6 kB / 0.7734 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4221, allocations: 4 kB / 0.7734 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.119e-05/0.4222, allocations: 15.98 kB / 0.7734 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4222, allocations: 0 / 0.7734 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-06/0.4223, allocations: 0 / 0.7734 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4223, allocations: 0 / 0.7734 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4223, allocations: 0 / 0.7734 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.4225, allocations: 187.4 kB / 0.7736 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.4225, allocations: 77.11 kB / 0.7737 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.4226, allocations: 4 kB / 0.7737 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.4227, allocations: 4.031 kB / 0.7737 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.4227, allocations: 7.938 kB / 0.7737 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.4227, allocations: 4 kB / 0.7737 GB, free: 11.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.768e-05/0.4228, allocations: 79.28 kB / 0.7738 GB, free: 11.22 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4228, allocations: 0 / 0.7738 GB, free: 11.22 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003459/0.4231, allocations: 16 kB / 0.7738 GB, free: 11.2 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.0005247/0.4237, allocations: 0.7124 MB / 0.7745 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.4238, allocations: 43.92 kB / 0.7745 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4238, allocations: 0 / 0.7745 GB, free: 10.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-05/0.4238, allocations: 12.25 kB / 0.7745 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.4242, allocations: 12.5 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.001543/0.4258, allocations: 1.547 MB / 0.7761 GB, free: 8.734 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.4261, allocations: 0.6846 MB / 0.7767 GB, free: 8.023 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.321e-05/0.4262, allocations: 8 kB / 0.7767 GB, free: 8.016 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.4262, allocations: 15.44 kB / 0.7768 GB, free: 8.004 MB / 0.545 GB Notification: Performance of SimCode: time 2.164e-06/0.4262, allocations: 0 / 0.7768 GB, free: 8.004 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02394/0.4502, allocations: 1.682 MB / 0.7784 GB, free: 6.465 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/8.067, allocations: 16.23 kB / 0.7784 GB, free: 6.453 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)