Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.00145/0.00145, allocations: 103.2 kB / 16.45 MB, free: 6.445 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.00145/0.00145, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.352/1.352, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.002361/0.002361, allocations: 283.3 kB / 303 MB, free: 3.621 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.006/1.006, allocations: 180.9 MB / 0.5261 GB, free: 2.75 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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 107.8 kB / 0.7248 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4902/0.4929, allocations: 94.16 MB / 0.8167 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004964/0.4978, allocations: 4.572 MB / 0.8212 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008773/0.4987, allocations: 0.8252 MB / 0.822 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.4988, allocations: 1.469 kB / 0.822 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.4989, allocations: 29.31 kB / 0.822 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.165e-05/0.499, allocations: 33.61 kB / 0.8221 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004804/0.4995, allocations: 173.8 kB / 0.8222 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.4997, allocations: 180.6 kB / 0.8224 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.374e-05/0.4998, allocations: 17.05 kB / 0.8224 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.4999, allocations: 77.8 kB / 0.8225 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.5, allocations: 75.06 kB / 0.8226 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.5001, allocations: 13.97 kB / 0.8226 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003312/0.5004, allocations: 156.7 kB / 0.8227 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.06e-05/0.5004, allocations: 38.12 kB / 0.8228 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.872e-05/0.5005, allocations: 66.17 kB / 0.8228 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.5008, allocations: 239.5 kB / 0.823 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5008, allocations: 0 / 0.823 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5008, allocations: 3.719 kB / 0.8231 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.5008, allocations: 0 / 0.8231 GB, free: 2.801 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007633/0.5016, allocations: 486.9 kB / 0.8235 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.5016, allocations: 8.156 kB / 0.8235 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.5017, allocations: 39.72 kB / 0.8236 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.5017, allocations: 14.42 kB / 0.8236 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.172e-05/0.5018, allocations: 184.8 kB / 0.8238 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.5018, allocations: 3.156 kB / 0.8238 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.5018, allocations: 16.66 kB / 0.8238 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.5021, allocations: 125.2 kB / 0.8239 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5021, allocations: 0 / 0.8239 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5021, allocations: 4 kB / 0.8239 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5021, allocations: 2.906 kB / 0.8239 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003529/0.5025, allocations: 138.5 kB / 0.824 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008106/0.5033, allocations: 468.8 kB / 0.8245 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.5035, allocations: 121 kB / 0.8246 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.5037, allocations: 70.3 kB / 0.8247 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.5048, allocations: 0.9645 MB / 0.8256 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.5048, allocations: 31.27 kB / 0.8256 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.5048, allocations: 0 / 0.8256 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.000606/0.5054, allocations: 222.4 kB / 0.8258 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.5055, allocations: 52.3 kB / 0.8259 GB, free: 468 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.5056, allocations: 170.8 kB / 0.8261 GB, free: 340 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.5056, allocations: 33.36 kB / 0.8261 GB, free: 304 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.5056, allocations: 111.8 kB / 0.8262 GB, free: 192 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.5057, allocations: 34.19 kB / 0.8262 GB, free: 164 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/0.5057, allocations: 54.2 kB / 0.8263 GB, free: 128 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5058, allocations: 321.6 kB / 0.8266 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.5061, allocations: 74.38 kB / 0.8267 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.5063, allocations: 110.3 kB / 0.8268 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003901/0.5067, allocations: 174.2 kB / 0.8269 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5067, allocations: 0 / 0.8269 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005126/0.5072, allocations: 238.7 kB / 0.8272 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.5072, allocations: 5.828 kB / 0.8272 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.5072, allocations: 3.938 kB / 0.8272 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5072, allocations: 3.484 kB / 0.8272 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.5075, allocations: 60.55 kB / 0.8272 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.5075, allocations: 0 / 0.8272 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.5076, allocations: 39.39 kB / 0.8273 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.5077, allocations: 10.91 kB / 0.8273 GB, free: 15.52 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001042/0.5078, allocations: 125.4 kB / 0.8274 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.5078, allocations: 12.88 kB / 0.8274 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.5082, allocations: 185.2 kB / 0.8276 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5083, allocations: 0.6562 kB / 0.8276 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.5083, allocations: 2.219 kB / 0.8276 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5083, allocations: 0.6094 kB / 0.8276 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.5085, allocations: 214 kB / 0.8278 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5085, allocations: 0 / 0.8278 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.5086, allocations: 34.8 kB / 0.8278 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5086, allocations: 4 kB / 0.8278 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5087, allocations: 4.547 kB / 0.8278 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5087, allocations: 0 / 0.8278 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5087, allocations: 2.938 kB / 0.8278 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000418/0.5091, allocations: 256.9 kB / 0.8281 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.5092, allocations: 102.1 kB / 0.8282 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.5092, allocations: 12.53 kB / 0.8282 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.5093, allocations: 12.67 kB / 0.8282 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/0.5093, allocations: 12.66 kB / 0.8282 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.5094, allocations: 6.688 kB / 0.8282 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.532e-05/0.5094, allocations: 111.2 kB / 0.8283 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5094, allocations: 0 / 0.8283 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003299/0.5098, allocations: 64.27 kB / 0.8284 GB, free: 14.68 MB / 0.5919 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 (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 Backend phase and start with SimCode phase: time 0.000905/0.5107, allocations: 0.8525 MB / 0.8292 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.5111, allocations: 157.7 kB / 0.8294 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5111, allocations: 4.125 kB / 0.8294 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001703/0.5113, allocations: 71.3 kB / 0.8294 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.5117, allocations: 21.8 kB / 0.8295 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.5142, allocations: 1.951 MB / 0.8314 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.5145, allocations: 0.707 MB / 0.8321 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.5146, allocations: 31.48 kB / 0.8321 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.5146, allocations: 33.5 kB / 0.8321 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.5146, allocations: 0 / 0.8321 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.542, allocations: 4.315 MB / 0.8363 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.642/8.184, allocations: 5.609 kB / 0.8363 GB, free: 11.05 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.830503066070378] Failed to read output from testmodel.py, exit status != 0: 8.252236941363662 8.272686304 7.76799542 Calling exit ...