Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 172.1 kB / 326.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.4 MB / 0.5777 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007334/0.0007336, allocations: 105 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.0003859, allocations: 9.031 kB / 0.7964 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2215, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.001061/0.2226, allocations: 0.9892 MB / 0.9012 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002402/0.2251, allocations: 2.758 MB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.2251, allocations: 0 / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.2251, allocations: 4 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.282e-05/0.2252, allocations: 3.938 kB / 0.9039 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.2255, allocations: 75.69 kB / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.587e-05/0.2256, allocations: 35.84 kB / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.2256, allocations: 0 / 0.9041 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.226, allocations: 147.6 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.401e-05/0.226, allocations: 19.98 kB / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.226, allocations: 0 / 0.9042 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-05/0.2261, allocations: 43.84 kB / 0.9043 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.2262, allocations: 11.98 kB / 0.9043 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.2262, allocations: 29.7 kB / 0.9043 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.151e-05/0.2263, allocations: 27.97 kB / 0.9043 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2263, allocations: 3.984 kB / 0.9043 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.2263, allocations: 3.938 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.2263, allocations: 0 / 0.9043 GB, free: 59.64 MB / 0.6042 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.000271/0.2266, allocations: 335.6 kB / 0.9047 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2266, allocations: 8.031 kB / 0.9047 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.2267, allocations: 42.5 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.2267, allocations: 3.953 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.727e-05/0.2267, allocations: 163.1 kB / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.2268, allocations: 0 / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.2268, allocations: 11.91 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.2269, allocations: 49.67 kB / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.2269, allocations: 0 / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2269, allocations: 4 kB / 0.9049 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2269, allocations: 11.95 kB / 0.9049 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.294e-05/0.227, allocations: 19.95 kB / 0.905 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001214/0.2271, allocations: 169.5 kB / 0.9051 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.099e-05/0.2272, allocations: 46.56 kB / 0.9052 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.2272, allocations: 24.83 kB / 0.9052 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005342/0.2278, allocations: 0.5869 MB / 0.9058 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.847e-05/0.2278, allocations: 38.56 kB / 0.9058 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.2278, allocations: 0 / 0.9058 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0005221/0.2283, allocations: 306.4 kB / 0.9061 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.2284, allocations: 51.41 kB / 0.9061 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.274e-05/0.2284, allocations: 97.86 kB / 0.9062 GB, free: 57.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.2284, allocations: 33.64 kB / 0.9063 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.2285, allocations: 91.98 kB / 0.9063 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.2285, allocations: 19.7 kB / 0.9064 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.2285, allocations: 8 kB / 0.9064 GB, free: 57.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.575e-05/0.2286, allocations: 318.8 kB / 0.9067 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.2286, allocations: 12 kB / 0.9067 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.111e-05/0.2286, allocations: 53.14 kB / 0.9067 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.007e-05/0.2287, allocations: 20.17 kB / 0.9068 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2287, allocations: 7.938 kB / 0.9068 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001069/0.2288, allocations: 97.41 kB / 0.9069 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2288, allocations: 4.125 kB / 0.9069 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2288, allocations: 4 kB / 0.9069 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.2289, allocations: 4.438 kB / 0.9069 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.086e-05/0.2289, allocations: 23.98 kB / 0.9069 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.2289, allocations: 4 kB / 0.9069 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.229, allocations: 4 kB / 0.9069 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.229, allocations: 4 kB / 0.9069 GB, free: 56.61 MB / 0.6042 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 6.081e-05/0.2291, allocations: 121.7 kB / 0.907 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.2291, allocations: 7.953 kB / 0.907 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.2291, allocations: 11.97 kB / 0.907 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2291, allocations: 0 / 0.907 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2291, allocations: 3.984 kB / 0.907 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2291, allocations: 0 / 0.907 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001798/0.2293, allocations: 173.7 kB / 0.9072 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2293, allocations: 0 / 0.9072 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.891e-05/0.2294, allocations: 16 kB / 0.9072 GB, free: 56.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2294, allocations: 3.953 kB / 0.9072 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2294, allocations: 0 / 0.9072 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2295, allocations: 0 / 0.9072 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2295, allocations: 0 / 0.9072 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.2296, allocations: 179.4 kB / 0.9074 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.2296, allocations: 85.14 kB / 0.9075 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.2297, allocations: 3.953 kB / 0.9075 GB, free: 55.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2298, allocations: 8 kB / 0.9075 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.2298, allocations: 3.938 kB / 0.9075 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.2298, allocations: 7.984 kB / 0.9075 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.904e-05/0.2298, allocations: 79.28 kB / 0.9076 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2298, allocations: 4 kB / 0.9076 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002135/0.23, allocations: 12 kB / 0.9076 GB, free: 55.8 MB / 0.6042 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.0002678/0.2303, allocations: 0.7123 MB / 0.9083 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.222e-05/0.2304, allocations: 40.73 kB / 0.9083 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2304, allocations: 4 kB / 0.9083 GB, free: 55.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.86e-05/0.2305, allocations: 16 kB / 0.9083 GB, free: 55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.2307, allocations: 11.94 kB / 0.9084 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000726/0.2314, allocations: 0.6767 MB / 0.909 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.965e-05/0.2316, allocations: 0.6848 MB / 0.9097 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.538e-05/0.2316, allocations: 8.062 kB / 0.9097 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.2317, allocations: 19.44 kB / 0.9097 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of SimCode: time 2.01e-07/0.2317, allocations: 0 / 0.9097 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.2455, allocations: 1.442 MB / 0.9111 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.2458, allocations: 211.4 kB / 0.9113 GB, free: 52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.884, allocations: 0 / 0.9113 GB, free: 52 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)