Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.00132, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5154/0.5154, allocations: 90.91 MB / 99.35 MB, free: 2.168 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 221.5 MB / 343.2 MB, free: 1.586 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.000967, allocations: 91.94 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.134e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1925, allocations: 72.32 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.099/1.291, allocations: 370 MB / 0.915 GB, free: 110.9 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/1.292, allocations: 64.53 kB / 0.915 GB, free: 110.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.03692/1.329, allocations: 18.96 MB / 0.9335 GB, free: 95.62 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.224e-06/1.329, allocations: 0 / 0.9335 GB, free: 95.62 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.084e-05/1.329, allocations: 0 / 0.9335 GB, free: 95.62 MB / 0.5886 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.0003159/1.329, allocations: 365.8 kB / 0.9339 GB, free: 95.22 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.329, allocations: 8.031 kB / 0.9339 GB, free: 95.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/1.329, allocations: 11.94 kB / 0.9339 GB, free: 95.2 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.086e-05/1.329, allocations: 159.1 kB / 0.9341 GB, free: 95 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/1.329, allocations: 0 / 0.9341 GB, free: 95 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/1.329, allocations: 11.92 kB / 0.9341 GB, free: 94.99 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.287e-05/1.329, allocations: 19.92 kB / 0.9341 GB, free: 94.98 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.679e-05/1.329, allocations: 45.06 kB / 0.9341 GB, free: 94.93 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/1.329, allocations: 4 kB / 0.9341 GB, free: 94.93 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/1.329, allocations: 7.953 kB / 0.9342 GB, free: 94.92 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/1.329, allocations: 0 / 0.9342 GB, free: 94.92 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/1.33, allocations: 141.8 kB / 0.9343 GB, free: 94.75 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.181e-05/1.33, allocations: 49.33 kB / 0.9343 GB, free: 94.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/1.33, allocations: 16.36 kB / 0.9344 GB, free: 94.68 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005812/1.33, allocations: 0.6246 MB / 0.935 GB, free: 93.96 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/1.33, allocations: 34.52 kB / 0.935 GB, free: 93.91 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=5): time 1.824e-06/1.33, allocations: 0 / 0.935 GB, free: 93.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0004378/1.331, allocations: 273.1 kB / 0.9353 GB, free: 93.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.734e-05/1.331, allocations: 63.31 kB / 0.9353 GB, free: 93.54 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.298e-05/1.331, allocations: 100.5 kB / 0.9354 GB, free: 93.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/1.331, allocations: 25.7 kB / 0.9354 GB, free: 93.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/1.331, allocations: 80.14 kB / 0.9355 GB, free: 93.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/1.331, allocations: 31.17 kB / 0.9355 GB, free: 93.29 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-06/1.331, allocations: 0 / 0.9355 GB, free: 93.29 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.341e-05/1.331, allocations: 314 kB / 0.9358 GB, free: 92.98 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/1.331, allocations: 11.5 kB / 0.9359 GB, free: 92.97 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.421e-05/1.331, allocations: 52.52 kB / 0.9359 GB, free: 92.91 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.85e-05/1.331, allocations: 11.44 kB / 0.9359 GB, free: 92.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/1.331, allocations: 0 / 0.9359 GB, free: 92.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.793e-05/1.331, allocations: 81.23 kB / 0.936 GB, free: 92.82 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.331, allocations: 13.17 kB / 0.936 GB, free: 92.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.331, allocations: 4 kB / 0.936 GB, free: 92.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/1.331, allocations: 4 kB / 0.936 GB, free: 92.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.612e-05/1.331, allocations: 19.98 kB / 0.936 GB, free: 92.78 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.331, allocations: 3.938 kB / 0.936 GB, free: 92.78 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.735e-05/1.331, allocations: 7.75 kB / 0.936 GB, free: 92.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/1.331, allocations: 4 kB / 0.936 GB, free: 92.77 MB / 0.5886 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 () * 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 4.94e-05/1.331, allocations: 101 kB / 0.9361 GB, free: 92.66 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.1e-05/1.331, allocations: 52.97 kB / 0.9362 GB, free: 92.61 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/1.331, allocations: 7.953 kB / 0.9362 GB, free: 92.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/1.332, allocations: 15.91 kB / 0.9362 GB, free: 92.59 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/1.332, allocations: 4 kB / 0.9362 GB, free: 92.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.332, allocations: 0 / 0.9362 GB, free: 92.59 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/1.332, allocations: 288 / 0.9362 GB, free: 92.59 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/1.332, allocations: 145.8 kB / 0.9364 GB, free: 92.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/1.332, allocations: 3.938 kB / 0.9364 GB, free: 92.41 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.048e-05/1.332, allocations: 23.92 kB / 0.9364 GB, free: 92.39 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.332, allocations: 3.984 kB / 0.9364 GB, free: 92.38 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/1.332, allocations: 3.953 kB / 0.9364 GB, free: 92.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.332, allocations: 0 / 0.9364 GB, free: 92.38 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.332, allocations: 4 kB / 0.9364 GB, free: 92.38 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/1.332, allocations: 167 kB / 0.9366 GB, free: 92.21 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/1.332, allocations: 85.14 kB / 0.9366 GB, free: 92.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/1.332, allocations: 4 kB / 0.9366 GB, free: 92.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.399e-05/1.332, allocations: 3.953 kB / 0.9366 GB, free: 92.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/1.332, allocations: 11.92 kB / 0.9367 GB, free: 92.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/1.332, allocations: 0 / 0.9367 GB, free: 92.09 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.976e-05/1.332, allocations: 83.28 kB / 0.9367 GB, free: 92 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.332, allocations: 0 / 0.9367 GB, free: 92 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002422/1.332, allocations: 15.94 kB / 0.9367 GB, free: 91.99 MB / 0.5886 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 () * 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.000333/1.333, allocations: 0.7351 MB / 0.9375 GB, free: 91.24 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 9.116e-05/1.333, allocations: 43.03 kB / 0.9375 GB, free: 91.21 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.333, allocations: 0 / 0.9375 GB, free: 91.21 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.557e-05/1.333, allocations: 15.94 kB / 0.9375 GB, free: 91.19 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/1.333, allocations: 11.45 kB / 0.9375 GB, free: 91.18 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/1.334, allocations: 294.1 kB / 0.9378 GB, free: 90.86 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.857e-05/1.334, allocations: 0.6813 MB / 0.9385 GB, free: 90.16 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.542e-05/1.334, allocations: 15.97 kB / 0.9385 GB, free: 90.14 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/1.334, allocations: 15.06 kB / 0.9385 GB, free: 90.13 MB / 0.5886 GB Notification: Performance of SimCode: time 2.4e-07/1.334, allocations: 0 / 0.9385 GB, free: 90.13 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/1.353, allocations: 1.499 MB / 0.94 GB, free: 88.64 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/1.353, allocations: 150.4 kB / 0.9401 GB, free: 88.45 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/2.83, allocations: 3.938 kB / 0.9401 GB, free: 88.44 MB / 0.5886 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1)