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.713/2.713, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001542/0.001542, allocations: 189.4 kB / 370.8 MB, free: 10.88 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.193/2.193, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001115/0.001114, allocations: 105.6 kB / 0.7428 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006475/0.0006477, allocations: 14.88 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2361, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00138/0.2376, allocations: 0.9571 MB / 0.9792 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003798/0.2414, allocations: 2.562 MB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.2415, allocations: 0 / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.2415, allocations: 0 / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.744e-05/0.2416, allocations: 11.98 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.2421, allocations: 79.77 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.082e-05/0.2422, allocations: 23.97 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.577e-05/0.2422, allocations: 7.984 kB / 0.9818 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005649/0.2428, allocations: 147.6 kB / 0.982 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/0.2429, allocations: 15.97 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.2429, allocations: 4 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.2431, allocations: 43.92 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.2431, allocations: 15.97 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.325e-05/0.2431, allocations: 29.7 kB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.2433, allocations: 36.17 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.2433, allocations: 3.938 kB / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2433, allocations: 0 / 0.9821 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2433, allocations: 4 kB / 0.9821 GB, free: 24.36 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.000358/0.2437, allocations: 329.5 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2437, allocations: 12.02 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.2438, allocations: 42.5 kB / 0.9825 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.2438, allocations: 7.859 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.988e-05/0.2439, allocations: 163 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.2439, allocations: 7.984 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.244, allocations: 8 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.2441, allocations: 53.67 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2441, allocations: 0 / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.2442, allocations: 0 / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.2442, allocations: 3.953 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.849e-05/0.2443, allocations: 19.98 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.2444, allocations: 165.6 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.2446, allocations: 54.53 kB / 0.9829 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007594/0.2453, allocations: 0.5949 MB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2454, allocations: 38.52 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.2454, allocations: 0 / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006949/0.2461, allocations: 302.4 kB / 0.9838 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.2461, allocations: 55.41 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.225e-05/0.2462, allocations: 97.84 kB / 0.984 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.2462, allocations: 33.7 kB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.2463, allocations: 87.98 kB / 0.9841 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.2463, allocations: 35.61 kB / 0.9841 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.2463, allocations: 4 kB / 0.9841 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.672e-05/0.2464, allocations: 314.8 kB / 0.9844 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.758e-05/0.2464, allocations: 12 kB / 0.9845 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.318e-05/0.2465, allocations: 57.08 kB / 0.9845 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.672e-05/0.2466, allocations: 23.98 kB / 0.9845 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2466, allocations: 0 / 0.9845 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001839/0.2468, allocations: 97.56 kB / 0.9846 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2468, allocations: 7.938 kB / 0.9846 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.2468, allocations: 4 kB / 0.9846 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2469, allocations: 0 / 0.9846 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.247, allocations: 20 kB / 0.9847 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.247, allocations: 4 kB / 0.9847 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.816e-05/0.2471, allocations: 0 / 0.9847 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.2471, allocations: 7.984 kB / 0.9847 GB, free: 21.34 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.101e-05/0.2472, allocations: 117.8 kB / 0.9848 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.2472, allocations: 15.92 kB / 0.9848 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.2473, allocations: 7.969 kB / 0.9848 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2473, allocations: 0 / 0.9848 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2473, allocations: 0 / 0.9848 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2473, allocations: 4 kB / 0.9848 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.2477, allocations: 173.7 kB / 0.985 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2477, allocations: 0 / 0.985 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.2479, allocations: 15.98 kB / 0.985 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2479, allocations: 0 / 0.985 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.2479, allocations: 3.953 kB / 0.985 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2479, allocations: 0 / 0.985 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2479, allocations: 8 kB / 0.985 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.2481, allocations: 167.5 kB / 0.9852 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.783e-05/0.2482, allocations: 81.02 kB / 0.9852 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.2482, allocations: 4 kB / 0.9852 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.2484, allocations: 7.953 kB / 0.9853 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.2484, allocations: 16.28 kB / 0.9853 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.2484, allocations: 0 / 0.9853 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.777e-05/0.2485, allocations: 87.27 kB / 0.9853 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2485, allocations: 0 / 0.9853 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003464/0.2488, allocations: 16 kB / 0.9854 GB, free: 20.54 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.0003733/0.2492, allocations: 0.7007 MB / 0.986 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.2494, allocations: 43.97 kB / 0.9861 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2494, allocations: 0 / 0.9861 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.494e-05/0.2494, allocations: 20.22 kB / 0.9861 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.2497, allocations: 4.109 kB / 0.9861 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.251, allocations: 1.436 MB / 0.9875 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.2512, allocations: 0.6887 MB / 0.9882 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.535e-05/0.2513, allocations: 12.02 kB / 0.9882 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.2514, allocations: 15.5 kB / 0.9882 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of SimCode: time 8.92e-07/0.2514, allocations: 4 kB / 0.9882 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0219/0.2733, allocations: 1.413 MB / 0.9896 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/0.2736, allocations: 194.8 kB / 0.9898 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/2.651, allocations: 0 / 0.9898 GB, free: 15.98 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)