Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 106.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002596/0.002596, allocations: 289.7 kB / 303 MB, free: 9.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.239/1.239, allocations: 180.9 MB / 0.5261 GB, free: 14.73 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 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(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 103.3 kB / 0.7247 GB, free: 40.11 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2014, allocations: 94.15 MB / 0.8167 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002517/0.2039, allocations: 1.264 MB / 0.8179 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004101/0.2081, allocations: 2.951 MB / 0.8208 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.2081, allocations: 0 / 0.8208 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.463e-05/0.2081, allocations: 3.938 kB / 0.8208 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.897e-05/0.2081, allocations: 7.922 kB / 0.8208 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004786/0.2086, allocations: 111.5 kB / 0.8209 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.188e-05/0.2087, allocations: 35.86 kB / 0.821 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.2087, allocations: 4 kB / 0.821 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.2092, allocations: 159.4 kB / 0.8211 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.052e-05/0.2092, allocations: 15.98 kB / 0.8211 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.2092, allocations: 0 / 0.8211 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.2094, allocations: 71.86 kB / 0.8212 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.2094, allocations: 7.938 kB / 0.8212 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.2094, allocations: 15.98 kB / 0.8212 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.2096, allocations: 64.08 kB / 0.8213 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2096, allocations: 0 / 0.8213 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2096, allocations: 3.938 kB / 0.8213 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2096, allocations: 0 / 0.8213 GB, free: 0.7695 MB / 0.5606 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.0004539/0.2101, allocations: 347.3 kB / 0.8216 GB, free: 392 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.2101, allocations: 16.02 kB / 0.8216 GB, free: 376 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.384e-05/0.2102, allocations: 30.75 kB / 0.8217 GB, free: 336 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.2102, allocations: 12.88 kB / 0.8217 GB, free: 324 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.2103, allocations: 160.4 kB / 0.8218 GB, free: 124 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.2103, allocations: 384 / 0.8218 GB, free: 124 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.2104, allocations: 16.31 kB / 0.8218 GB, free: 108 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.2105, allocations: 57.59 kB / 0.8219 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2105, allocations: 0 / 0.8219 GB, free: 44 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.2105, allocations: 8 kB / 0.8219 GB, free: 36 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2105, allocations: 0 / 0.8219 GB, free: 36 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.721e-05/0.2106, allocations: 27.89 kB / 0.8219 GB, free: 8 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.2108, allocations: 165.7 kB / 0.8221 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.477e-05/0.2109, allocations: 46.56 kB / 0.8221 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.007e-05/0.2109, allocations: 16.84 kB / 0.8221 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007557/0.2117, allocations: 0.5907 MB / 0.8227 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.2117, allocations: 38.5 kB / 0.8228 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.2117, allocations: 0 / 0.8228 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0006075/0.2123, allocations: 303 kB / 0.8231 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.2124, allocations: 55.41 kB / 0.8231 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.2124, allocations: 101.8 kB / 0.8232 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.2125, allocations: 29.7 kB / 0.8232 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.2125, allocations: 88.03 kB / 0.8233 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.2125, allocations: 31.8 kB / 0.8233 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.2126, allocations: 25.72 kB / 0.8234 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2127, allocations: 318.8 kB / 0.8237 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.2128, allocations: 12 kB / 0.8237 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.2128, allocations: 57.08 kB / 0.8237 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.2129, allocations: 85.02 kB / 0.8238 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2129, allocations: 0 / 0.8238 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001382/0.2131, allocations: 93.5 kB / 0.8239 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2131, allocations: 8 kB / 0.8239 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.2131, allocations: 4.125 kB / 0.8239 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2131, allocations: 4 kB / 0.8239 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.044e-05/0.2132, allocations: 16.28 kB / 0.8239 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2132, allocations: 0 / 0.8239 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.2132, allocations: 15.92 kB / 0.824 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.2132, allocations: 4 kB / 0.824 GB, free: 13.61 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.744e-05/0.2133, allocations: 117.7 kB / 0.8241 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.2134, allocations: 4 kB / 0.8241 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.2134, allocations: 11.95 kB / 0.8241 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2134, allocations: 8 kB / 0.8241 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2134, allocations: 0 / 0.8241 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2134, allocations: 3.938 kB / 0.8241 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.2136, allocations: 173.6 kB / 0.8243 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2136, allocations: 0 / 0.8243 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.447e-05/0.2137, allocations: 15.98 kB / 0.8243 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2137, allocations: 0 / 0.8243 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2137, allocations: 8 kB / 0.8243 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2137, allocations: 0 / 0.8243 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2137, allocations: 0 / 0.8243 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.214, allocations: 179.4 kB / 0.8245 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.214, allocations: 81.11 kB / 0.8245 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.214, allocations: 0 / 0.8245 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.2141, allocations: 8.031 kB / 0.8245 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.2142, allocations: 7.938 kB / 0.8245 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.2142, allocations: 4 kB / 0.8246 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.578e-05/0.2142, allocations: 75.28 kB / 0.8246 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2142, allocations: 0 / 0.8246 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002428/0.2145, allocations: 20 kB / 0.8246 GB, free: 12.82 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005134/0.215, allocations: 0.7046 MB / 0.8253 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.2151, allocations: 48.14 kB / 0.8254 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.2151, allocations: 11.94 kB / 0.8254 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.641e-05/0.2151, allocations: 15.94 kB / 0.8254 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.2154, allocations: 8.688 kB / 0.8254 GB, free: 12 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.217, allocations: 1.532 MB / 0.8269 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.2173, allocations: 0.6885 MB / 0.8276 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.2173, allocations: 11.94 kB / 0.8276 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.2174, allocations: 11.44 kB / 0.8276 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.2174, allocations: 4 kB / 0.8276 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.241, allocations: 1.697 MB / 0.8293 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.216, allocations: 10.17 kB / 0.8293 GB, free: 8.055 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.505239215213805] Failed to read output from testmodel.py, exit status != 0: 8.281891759019345 8.296004938 8.083499702 Calling exit ...