Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001383/0.001383, allocations: 105.6 kB / 16.45 MB, free: 6.508 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.001301/0.001301, allocations: 200.5 kB / 19.41 MB, free: 3.664 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.428/1.428, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.002467/0.002467, allocations: 280.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.24/1.24, allocations: 180.9 MB / 0.5261 GB, free: 14.57 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.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002784/0.002784, allocations: 105.1 kB / 0.7248 GB, free: 39.88 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.2, allocations: 94.15 MB / 0.8167 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003091/0.2031, allocations: 1.392 MB / 0.8181 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004225/0.2074, allocations: 2.927 MB / 0.8209 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/0.2074, allocations: 3.938 kB / 0.8209 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.2075, allocations: 3.984 kB / 0.8209 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.2077, allocations: 43.81 kB / 0.821 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006565/0.2083, allocations: 183.1 kB / 0.8211 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003211/0.2086, allocations: 243.5 kB / 0.8214 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.2087, allocations: 7.984 kB / 0.8214 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.2088, allocations: 99.78 kB / 0.8215 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.209, allocations: 119.8 kB / 0.8216 GB, free: 368 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.209, allocations: 8 kB / 0.8216 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.2094, allocations: 143.8 kB / 0.8217 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.2095, allocations: 91.75 kB / 0.8218 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.2096, allocations: 95.58 kB / 0.8219 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.21, allocations: 275.4 kB / 0.8222 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.21, allocations: 0 / 0.8222 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.21, allocations: 0 / 0.8222 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.21, allocations: 0 / 0.8222 GB, free: 15.76 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0009384/0.211, allocations: 0.5374 MB / 0.8227 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.211, allocations: 12.02 kB / 0.8227 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.628e-05/0.2111, allocations: 50.75 kB / 0.8228 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.2112, allocations: 20.83 kB / 0.8228 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.2115, allocations: 242.7 kB / 0.823 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/0.2116, allocations: 24.36 kB / 0.823 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.2116, allocations: 16.38 kB / 0.8231 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.2123, allocations: 293.1 kB / 0.8233 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.2123, allocations: 0 / 0.8233 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.2123, allocations: 4 kB / 0.8233 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.2123, allocations: 4 kB / 0.8233 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.2138, allocations: 0.749 MB / 0.8241 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.2142, allocations: 301.4 kB / 0.8244 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.2158, allocations: 0.6491 MB / 0.825 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005063/0.2163, allocations: 213.3 kB / 0.8252 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000522/0.2168, allocations: 396 kB / 0.8256 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.2169, allocations: 34.56 kB / 0.8256 GB, free: 12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 1.654e-06/0.2169, allocations: 0 / 0.8256 GB, free: 12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.001652/0.2185, allocations: 0.6534 MB / 0.8262 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.2186, allocations: 63.16 kB / 0.8263 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.2187, allocations: 126 kB / 0.8264 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.2187, allocations: 29.7 kB / 0.8265 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.167e-05/0.2188, allocations: 96.78 kB / 0.8266 GB, free: 11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.2189, allocations: 134.8 kB / 0.8267 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.219, allocations: 61.67 kB / 0.8267 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2192, allocations: 330.8 kB / 0.8271 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.2197, allocations: 195.8 kB / 0.8272 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.2202, allocations: 195.8 kB / 0.8274 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000866/0.221, allocations: 369.8 kB / 0.8278 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.221, allocations: 4 kB / 0.8278 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001044/0.2221, allocations: 460.9 kB / 0.8282 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.2221, allocations: 11.98 kB / 0.8282 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.2221, allocations: 0 / 0.8282 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2221, allocations: 0 / 0.8282 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.2225, allocations: 95.86 kB / 0.8283 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2225, allocations: 0 / 0.8283 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001735/0.2227, allocations: 55.8 kB / 0.8284 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.2227, allocations: 15.98 kB / 0.8284 GB, free: 9.086 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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 0.0001349/0.2228, allocations: 137.8 kB / 0.8285 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.2229, allocations: 19.84 kB / 0.8285 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.224, allocations: 0.5158 MB / 0.829 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.224, allocations: 4 kB / 0.8291 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2241, allocations: 0 / 0.8291 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2241, allocations: 3.984 kB / 0.8291 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.2244, allocations: 317.3 kB / 0.8294 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.2244, allocations: 3.938 kB / 0.8294 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003242/0.2248, allocations: 103.8 kB / 0.8295 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.2248, allocations: 0 / 0.8295 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.2248, allocations: 8 kB / 0.8295 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.2248, allocations: 8 kB / 0.8295 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2248, allocations: 0 / 0.8295 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.2259, allocations: 0.4922 MB / 0.83 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.226, allocations: 100.9 kB / 0.8301 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.226, allocations: 11.98 kB / 0.8301 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.2262, allocations: 35.97 kB / 0.8301 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002587/0.2264, allocations: 119.8 kB / 0.8302 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.2265, allocations: 8 kB / 0.8302 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.327e-05/0.2265, allocations: 106.5 kB / 0.8303 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2265, allocations: 0 / 0.8303 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003898/0.2269, allocations: 119.8 kB / 0.8304 GB, free: 6.898 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (37): * Single equations (assignments): 37 * 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.001662/0.2286, allocations: 1.123 MB / 0.8315 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001059/0.2297, allocations: 455 kB / 0.832 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.2297, allocations: 4 kB / 0.832 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005269/0.2302, allocations: 248.6 kB / 0.8322 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003965/0.2306, allocations: 79.08 kB / 0.8323 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/0.2351, allocations: 2.676 MB / 0.8349 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.2355, allocations: 0.7366 MB / 0.8356 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004401/0.2359, allocations: 187.5 kB / 0.8358 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.236, allocations: 75.39 kB / 0.8359 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.236, allocations: 0 / 0.8359 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03241/0.2684, allocations: 7.49 MB / 0.8432 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.387, allocations: 8.375 kB / 0.8432 GB, free: 9.938 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.636367989238352] Failed to read output from testmodel.py, exit status != 0: 8.460394201800227 8.48486602 8.269982696 Calling exit ...