Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002221/0.002221, allocations: 215.3 kB / 23.04 MB, free: 5.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.247/3.247, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 66.3 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3936/0.3954, allocations: 179 MB / 1.345 GB, free: 488 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003908/0.3994, allocations: 2.274 MB / 1.348 GB, free: 14.18 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002542/0.4019, allocations: 1.434 MB / 1.349 GB, free: 12.74 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.4021, allocations: 15.88 kB / 1.349 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0004741/0.4025, allocations: 171.3 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0004698/0.403, allocations: 219.1 kB / 1.349 GB, free: 12.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.4034, allocations: 183.6 kB / 1.35 GB, free: 12.16 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004946/0.4039, allocations: 434.8 kB / 1.35 GB, free: 11.74 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.4041, allocations: 69.53 kB / 1.35 GB, free: 11.67 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.4043, allocations: 199.2 kB / 1.35 GB, free: 11.47 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.4046, allocations: 187.2 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.4046, allocations: 28 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.4048, allocations: 83.91 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.4049, allocations: 111.6 kB / 1.351 GB, free: 11.07 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.4051, allocations: 170.8 kB / 1.351 GB, free: 10.9 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005895/0.4057, allocations: 0.4979 MB / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4057, allocations: 0 / 1.351 GB, free: 10.4 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.236e-06/0.4057, allocations: 8 kB / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.4057, allocations: 0 / 1.351 GB, free: 10.39 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001175/0.4069, allocations: 0.6633 MB / 1.352 GB, free: 9.699 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.4069, allocations: 12.03 kB / 1.352 GB, free: 9.688 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.611e-05/0.4069, allocations: 192 / 1.352 GB, free: 9.688 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.05e-05/0.407, allocations: 46.73 kB / 1.352 GB, free: 9.633 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.78e-05/0.407, allocations: 52.66 kB / 1.352 GB, free: 9.582 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005783/0.4076, allocations: 360.7 kB / 1.352 GB, free: 9.207 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.4077, allocations: 15.94 kB / 1.352 GB, free: 9.191 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.4077, allocations: 15.98 kB / 1.352 GB, free: 9.176 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.408, allocations: 180.1 kB / 1.353 GB, free: 8.984 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.408, allocations: 0 / 1.353 GB, free: 8.984 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.4081, allocations: 7.984 kB / 1.353 GB, free: 8.977 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-06/0.4081, allocations: 4 kB / 1.353 GB, free: 8.973 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.4083, allocations: 91.89 kB / 1.353 GB, free: 8.883 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.4094, allocations: 0.7573 MB / 1.353 GB, free: 8.074 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.4097, allocations: 125.4 kB / 1.353 GB, free: 7.934 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.4099, allocations: 53.69 kB / 1.354 GB, free: 7.875 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.4099, allocations: 112 / 1.354 GB, free: 7.875 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002591/0.4101, allocations: 129 kB / 1.354 GB, free: 7.73 MB / 1.045 GB Notification: Performance of pre-optimization done (n=12): time 1.113e-06/0.4101, allocations: 0 / 1.354 GB, free: 7.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=12): time 0.0005456/0.4107, allocations: 229.3 kB / 1.354 GB, free: 7.5 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.772e-05/0.4108, allocations: 106.8 kB / 1.354 GB, free: 7.371 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006943/0.4115, allocations: 0.5955 MB / 1.355 GB, free: 6.77 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.4115, allocations: 33.7 kB / 1.355 GB, free: 6.73 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.4117, allocations: 204.4 kB / 1.355 GB, free: 6.523 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.641e-05/0.4117, allocations: 31.8 kB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.4118, allocations: 77.64 kB / 1.355 GB, free: 6.41 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.412, allocations: 362.7 kB / 1.355 GB, free: 6.047 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.4122, allocations: 111.9 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.4124, allocations: 173.8 kB / 1.356 GB, free: 5.746 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.4128, allocations: 186.9 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.4128, allocations: 0 / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005746/0.4133, allocations: 347.7 kB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4134, allocations: 8 kB / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.4134, allocations: 0 / 1.356 GB, free: 5.199 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.4134, allocations: 4 kB / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.4136, allocations: 51.86 kB / 1.356 GB, free: 5.145 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.4136, allocations: 11.97 kB / 1.356 GB, free: 5.133 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.4138, allocations: 39.95 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-05/0.4138, allocations: 12 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.TTanBot.tab.nextTimeEvent,$whenCondition2,$PRE.TTanTop.tab.nextTimeEvent,$whenCondition1,TTanTop.tab.nextTimeEventScaled,$PRE.TTanTop.tab.nextTimeEventScaled,TTanTop.tab.nextTimeEvent,tanSta.hysCha.y,$PRE.tanSta.hysCha.y,TTanBot.tab.nextTimeEventScaled,$PRE.TTanBot.tab.nextTimeEventScaled,TTanBot.tab.nextTimeEvent,tanSta.hysEmp.y,$PRE.tanSta.hysEmp.y,tanSta.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002091/0.4141, allocations: 195.4 kB / 1.356 GB, free: 4.879 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.218e-05/0.4141, allocations: 43.72 kB / 1.356 GB, free: 4.836 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004114/0.4145, allocations: 193 kB / 1.357 GB, free: 4.633 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4145, allocations: 7.984 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.4145, allocations: 0 / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4145, allocations: 4 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.4149, allocations: 312.4 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4149, allocations: 4.609 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.4149, allocations: 11.98 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4149, allocations: 0 / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.4149, allocations: 4 kB / 1.357 GB, free: 4.254 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.418e-06/0.4149, allocations: 7.984 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4149, allocations: 0 / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.4153, allocations: 213.5 kB / 1.357 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.4154, allocations: 43.75 kB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.2e-05/0.4154, allocations: 8 kB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.4156, allocations: 19.97 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.4156, allocations: 19.97 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.4157, allocations: 11.98 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000423/0.4161, allocations: 371 kB / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4161, allocations: 0 / 1.358 GB, free: 3.555 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003203/0.4164, allocations: 71.88 kB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,$whenCondition1,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled) * Number of discrete states: 6 (tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanTop.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002119/0.4185, allocations: 1.073 MB / 1.359 GB, free: 2.539 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004358/0.419, allocations: 190.5 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.419, allocations: 0 / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.4191, allocations: 51.97 kB / 1.359 GB, free: 2.305 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.4196, allocations: 98.36 kB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004632/0.4242, allocations: 3.601 MB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.4247, allocations: 0.8223 MB / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.4249, allocations: 54.92 kB / 1.363 GB, free: 13.59 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.4251, allocations: 127.4 kB / 1.363 GB, free: 13.47 MB / 1.061 GB Notification: Performance of SimCode: time 8.72e-07/0.4251, allocations: 0 / 1.363 GB, free: 13.47 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.4562, allocations: 8.711 MB / 1.372 GB, free: 4.871 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.15, allocations: 10.83 kB / 1.372 GB, free: 4.863 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.fmu > Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.180166451027617] Failed to read output from testmodel.py, exit status != 0: 12.364585076982621 12.389355032 11.979065734 Calling exit ...