Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.835/2.835, allocations: 287.5 MB / 302.4 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001313/0.001313, allocations: 182.4 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009903/0.0009904, allocations: 89.86 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005746/0.0005748, allocations: 11.56 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2328, allocations: 115.3 MB / 0.9784 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001378/0.2342, allocations: 0.9782 MB / 0.9794 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004173/0.2385, allocations: 2.743 MB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.711e-05/0.2386, allocations: 3.938 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.512e-05/0.2386, allocations: 0 / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.2387, allocations: 7.922 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005421/0.2392, allocations: 71.7 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.16e-05/0.2393, allocations: 43.83 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.998e-05/0.2394, allocations: 3.938 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005933/0.24, allocations: 139.6 kB / 0.9823 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.24, allocations: 19.97 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.2401, allocations: 3.938 kB / 0.9824 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.2402, allocations: 43.91 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.2403, allocations: 4 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.2403, allocations: 29.7 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.2405, allocations: 36.17 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2405, allocations: 4 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2405, allocations: 0 / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2405, allocations: 0 / 0.9825 GB, free: 24.12 MB / 0.6198 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.0003735/0.2409, allocations: 331.4 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.2409, allocations: 16 kB / 0.9828 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.241, allocations: 38.5 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.241, allocations: 11.86 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.108e-05/0.2411, allocations: 163 kB / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.2412, allocations: 8 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.2412, allocations: 4 kB / 0.983 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.2413, allocations: 53.67 kB / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2414, allocations: 0 / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.2414, allocations: 3.984 kB / 0.9831 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.2414, allocations: 7.953 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.963e-05/0.2415, allocations: 23.91 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.2417, allocations: 157.7 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.2418, allocations: 54.62 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.2418, allocations: 20.84 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007878/0.2426, allocations: 0.5945 MB / 0.9839 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.2427, allocations: 34.56 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.054e-06/0.2427, allocations: 0 / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006724/0.2434, allocations: 306.4 kB / 0.9842 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.2434, allocations: 51.41 kB / 0.9843 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.349e-05/0.2435, allocations: 105.8 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.2435, allocations: 25.7 kB / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.2436, allocations: 88.05 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.2436, allocations: 27.55 kB / 0.9845 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.382e-06/0.2436, allocations: 8 kB / 0.9845 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.096e-05/0.2437, allocations: 318.8 kB / 0.9848 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.829e-05/0.2437, allocations: 15.98 kB / 0.9848 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.276e-05/0.2438, allocations: 53.14 kB / 0.9849 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.604e-05/0.2439, allocations: 19.94 kB / 0.9849 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2439, allocations: 4 kB / 0.9849 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001966/0.2441, allocations: 97.5 kB / 0.985 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.2441, allocations: 4 kB / 0.985 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2441, allocations: 0 / 0.985 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.2442, allocations: 4 kB / 0.985 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.2443, allocations: 19.98 kB / 0.985 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.2443, allocations: 4 kB / 0.985 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.415e-05/0.2444, allocations: 0 / 0.985 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.2444, allocations: 8.125 kB / 0.985 GB, free: 21.08 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.622e-05/0.2445, allocations: 117.8 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.2445, allocations: 11.86 kB / 0.9852 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.2446, allocations: 7.969 kB / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2446, allocations: 0 / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.2446, allocations: 0 / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2446, allocations: 3.938 kB / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.245, allocations: 173.7 kB / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.245, allocations: 0 / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.2451, allocations: 23.98 kB / 0.9854 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.2452, allocations: 4.234 kB / 0.9854 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.2452, allocations: 0 / 0.9854 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2452, allocations: 0 / 0.9854 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2452, allocations: 0 / 0.9854 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002058/0.2454, allocations: 183.5 kB / 0.9855 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.2455, allocations: 81.02 kB / 0.9856 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.2455, allocations: 11.98 kB / 0.9856 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.2457, allocations: 8 kB / 0.9856 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.2457, allocations: 4 kB / 0.9856 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.2457, allocations: 448 / 0.9856 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.063e-05/0.2458, allocations: 87.27 kB / 0.9857 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2458, allocations: 0 / 0.9857 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003078/0.2461, allocations: 8 kB / 0.9857 GB, free: 20.27 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000388/0.2465, allocations: 0.7047 MB / 0.9864 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001422/0.2467, allocations: 47.84 kB / 0.9865 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2467, allocations: 4 kB / 0.9865 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.328e-05/0.2467, allocations: 8 kB / 0.9865 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.2471, allocations: 13.36 kB / 0.9865 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.2483, allocations: 0.6809 MB / 0.9872 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.2485, allocations: 0.6862 MB / 0.9878 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001017/0.2487, allocations: 11.97 kB / 0.9878 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.678e-05/0.2487, allocations: 15.5 kB / 0.9879 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of SimCode: time 1.123e-06/0.2487, allocations: 0 / 0.9879 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02045/0.2692, allocations: 1.431 MB / 0.9893 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/0.2695, allocations: 196.3 kB / 0.9894 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/2.783, allocations: 3.938 kB / 0.9894 GB, free: 16.46 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)