Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_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.0009003/0.0009003, allocations: 92 kB / 15.06 MB, free: 1.098 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.0009653/0.0009653, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004937, allocations: 16.97 kB / 0.6738 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2276, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.00118/0.2288, allocations: 0.9782 MB / 0.7883 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003154/0.232, allocations: 2.751 MB / 0.791 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.013e-05/0.232, allocations: 3.938 kB / 0.791 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.232, allocations: 0 / 0.791 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.054e-05/0.2321, allocations: 7.938 kB / 0.791 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.2325, allocations: 79.62 kB / 0.7911 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.681e-05/0.2326, allocations: 35.84 kB / 0.7911 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.09e-05/0.2326, allocations: 0 / 0.7911 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004074/0.233, allocations: 151.6 kB / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.2331, allocations: 15.98 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.2331, allocations: 0 / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.2332, allocations: 43.84 kB / 0.7913 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.361e-05/0.2332, allocations: 7.984 kB / 0.7914 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.2333, allocations: 29.7 kB / 0.7914 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.2334, allocations: 36.17 kB / 0.7914 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2334, allocations: 0 / 0.7914 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2334, allocations: 4 kB / 0.7914 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.2334, allocations: 4 kB / 0.7914 GB, free: 7.691 MB / 0.6075 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.0003665/0.2338, allocations: 323.4 kB / 0.7917 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.2338, allocations: 12.03 kB / 0.7917 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.959e-05/0.2339, allocations: 34.56 kB / 0.7918 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.2339, allocations: 11.86 kB / 0.7918 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.234, allocations: 167 kB / 0.792 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2341, allocations: 4 kB / 0.792 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.2341, allocations: 4 kB / 0.792 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.2342, allocations: 57.66 kB / 0.792 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2342, allocations: 0 / 0.792 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.2342, allocations: 4 kB / 0.792 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2343, allocations: 3.938 kB / 0.792 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.463e-05/0.2343, allocations: 27.92 kB / 0.792 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.2345, allocations: 157.7 kB / 0.7922 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.972e-05/0.2346, allocations: 58.48 kB / 0.7923 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.2346, allocations: 12.86 kB / 0.7923 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006724/0.2353, allocations: 0.591 MB / 0.7928 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.2353, allocations: 34.52 kB / 0.7929 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.2353, allocations: 0 / 0.7929 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0005781/0.2359, allocations: 306.5 kB / 0.7932 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.236, allocations: 63.34 kB / 0.7932 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.094e-05/0.236, allocations: 93.86 kB / 0.7933 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.2361, allocations: 33.7 kB / 0.7933 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.2361, allocations: 84.05 kB / 0.7934 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.2361, allocations: 31.55 kB / 0.7935 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-06/0.2361, allocations: 0 / 0.7935 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.2363, allocations: 322.8 kB / 0.7938 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.812e-05/0.2363, allocations: 12 kB / 0.7938 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.917e-05/0.2363, allocations: 53.14 kB / 0.7938 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.03e-05/0.2364, allocations: 24.17 kB / 0.7939 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2364, allocations: 0 / 0.7939 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001245/0.2365, allocations: 97.5 kB / 0.7939 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.2366, allocations: 4 kB / 0.7939 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2366, allocations: 4 kB / 0.794 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2366, allocations: 0 / 0.794 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.2367, allocations: 31.86 kB / 0.794 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2367, allocations: 0 / 0.794 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.2367, allocations: 8 kB / 0.794 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.2367, allocations: 0 / 0.794 GB, free: 4.664 MB / 0.6075 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.276e-05/0.2368, allocations: 121.9 kB / 0.7941 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.2368, allocations: 11.86 kB / 0.7941 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.922e-05/0.2369, allocations: 7.969 kB / 0.7941 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2369, allocations: 3.984 kB / 0.7941 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2369, allocations: 4 kB / 0.7941 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2369, allocations: 0 / 0.7941 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.2371, allocations: 173.6 kB / 0.7943 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2371, allocations: 0 / 0.7943 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/0.2372, allocations: 12 kB / 0.7943 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2372, allocations: 0 / 0.7943 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.2373, allocations: 7.953 kB / 0.7943 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2373, allocations: 8 kB / 0.7943 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2373, allocations: 0 / 0.7943 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.2374, allocations: 171.5 kB / 0.7945 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.2375, allocations: 85.05 kB / 0.7946 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.2375, allocations: 4 kB / 0.7946 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.2376, allocations: 3.953 kB / 0.7946 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.2377, allocations: 8 kB / 0.7946 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.2377, allocations: 7.984 kB / 0.7946 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.252e-05/0.2377, allocations: 79.28 kB / 0.7947 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2377, allocations: 0 / 0.7947 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002307/0.238, allocations: 16 kB / 0.7947 GB, free: 3.855 MB / 0.6075 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.0004042/0.2384, allocations: 0.7007 MB / 0.7954 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001056/0.2385, allocations: 48.42 kB / 0.7954 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2385, allocations: 0 / 0.7954 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.483e-05/0.2385, allocations: 19.98 kB / 0.7954 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.2388, allocations: 7.953 kB / 0.7954 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009823/0.2398, allocations: 0.6873 MB / 0.7961 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.2401, allocations: 0.6848 MB / 0.7968 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.863e-05/0.2401, allocations: 8.062 kB / 0.7968 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.2402, allocations: 15.5 kB / 0.7968 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2402, allocations: 0 / 0.7968 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01229/0.2525, allocations: 1.418 MB / 0.7982 GB, free: 292 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.2527, allocations: 188.3 kB / 0.7984 GB, free: 52 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/1.973, allocations: 6.875 kB / 0.7984 GB, free: 48 kB / 0.6075 GB (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: