Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001844/0.001844, allocations: 115.7 kB / 17.17 MB, free: 5.98 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.002074/0.002074, allocations: 219 kB / 20.14 MB, free: 3.035 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.475/1.475, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.905/2.905, allocations: 0.49 GB / 0.7923 GB, free: 1.277 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,fileNamePrefix="Buildings_12_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.002102/0.002102, allocations: 71.89 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8926/0.8947, allocations: 176.1 MB / 1.321 GB, free: 24.72 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.003159/0.8979, allocations: 2.265 MB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001901/0.8998, allocations: 1.43 MB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.8999, allocations: 6.844 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004316/0.9004, allocations: 173.5 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.9008, allocations: 226.9 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.9011, allocations: 188.7 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003621/0.9015, allocations: 429 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.9017, allocations: 73.33 kB / 1.326 GB, free: 21.64 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.9019, allocations: 183.7 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.902, allocations: 196.3 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.9021, allocations: 30.72 kB / 1.327 GB, free: 21.48 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.9022, allocations: 80.09 kB / 1.327 GB, free: 21.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.965e-05/0.9023, allocations: 108.7 kB / 1.327 GB, free: 21.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.9024, allocations: 167.2 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000543/0.903, allocations: 0.507 MB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.903, allocations: 0 / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.302e-06/0.903, allocations: 0 / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.903, allocations: 0 / 1.327 GB, free: 21.08 MB / 1.061 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.001075/0.9041, allocations: 0.7376 MB / 1.328 GB, free: 20.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.9041, allocations: 14.45 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.091e-05/0.9041, allocations: 3.031 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.9042, allocations: 46.73 kB / 1.328 GB, free: 20.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.569e-05/0.9043, allocations: 49.11 kB / 1.328 GB, free: 20.4 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005347/0.9048, allocations: 417.5 kB / 1.329 GB, free: 20.09 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.9048, allocations: 14.34 kB / 1.329 GB, free: 20.08 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.269e-05/0.9049, allocations: 17.61 kB / 1.329 GB, free: 20.08 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.9052, allocations: 172.3 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.9052, allocations: 0.7188 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.035e-05/0.9052, allocations: 5.562 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.9053, allocations: 3.844 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.9055, allocations: 90.47 kB / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.9066, allocations: 0.7975 MB / 1.33 GB, free: 19.35 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.9069, allocations: 138.8 kB / 1.33 GB, free: 19.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.907, allocations: 47.31 kB / 1.33 GB, free: 19.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.907, allocations: 2.188 kB / 1.33 GB, free: 19.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002703/0.9073, allocations: 140.9 kB / 1.33 GB, free: 19.13 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.9073, allocations: 0.875 kB / 1.33 GB, free: 19.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0006005/0.9079, allocations: 216.3 kB / 1.33 GB, free: 19.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.908, allocations: 109.6 kB / 1.33 GB, free: 18.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000825/0.9088, allocations: 0.594 MB / 1.331 GB, free: 18.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.9088, allocations: 34.53 kB / 1.331 GB, free: 18.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.909, allocations: 199.9 kB / 1.331 GB, free: 18.45 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.985e-05/0.909, allocations: 46.88 kB / 1.331 GB, free: 18.42 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.9091, allocations: 78.59 kB / 1.331 GB, free: 18.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.9092, allocations: 356.3 kB / 1.332 GB, free: 18.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.9094, allocations: 108.5 kB / 1.332 GB, free: 18.01 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.9097, allocations: 166 kB / 1.332 GB, free: 17.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.91, allocations: 190.5 kB / 1.332 GB, free: 17.8 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.91, allocations: 0.8125 kB / 1.332 GB, free: 17.8 MB / 1.061 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005612/0.9106, allocations: 349.6 kB / 1.332 GB, free: 17.66 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.9106, allocations: 11.62 kB / 1.332 GB, free: 17.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.9106, allocations: 1.938 kB / 1.332 GB, free: 17.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.9106, allocations: 3.406 kB / 1.332 GB, free: 17.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.9108, allocations: 49.91 kB / 1.332 GB, free: 17.64 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.9108, allocations: 7.672 kB / 1.332 GB, free: 17.64 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.911, allocations: 37.67 kB / 1.332 GB, free: 17.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.9111, allocations: 9.625 kB / 1.332 GB, free: 17.63 MB / 1.061 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.0001762/0.9112, allocations: 204.9 kB / 1.333 GB, free: 17.47 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.9113, allocations: 43.14 kB / 1.333 GB, free: 17.45 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.573e-05/0.9114, allocations: 43.14 kB / 1.333 GB, free: 17.42 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.9114, allocations: 6.312 kB / 1.333 GB, free: 17.42 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.9114, allocations: 0 / 1.333 GB, free: 17.42 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.9114, allocations: 1.734 kB / 1.333 GB, free: 17.42 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.9117, allocations: 334.5 kB / 1.333 GB, free: 17.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.9117, allocations: 1.406 kB / 1.333 GB, free: 17.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.9117, allocations: 12.86 kB / 1.333 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.9117, allocations: 4 kB / 1.333 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.9118, allocations: 5 kB / 1.333 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.9118, allocations: 5.438 kB / 1.333 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9118, allocations: 0 / 1.333 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.9121, allocations: 210.6 kB / 1.333 GB, free: 17.03 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.9122, allocations: 125.9 kB / 1.333 GB, free: 16.9 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.9122, allocations: 8.734 kB / 1.333 GB, free: 16.9 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.9124, allocations: 18.77 kB / 1.333 GB, free: 16.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.9124, allocations: 28.61 kB / 1.333 GB, free: 16.88 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.9124, allocations: 6.25 kB / 1.333 GB, free: 16.88 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00042/0.9129, allocations: 374.9 kB / 1.334 GB, free: 16.72 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9129, allocations: 3.938 kB / 1.334 GB, free: 16.71 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003491/0.9132, allocations: 71.44 kB / 1.334 GB, free: 16.7 MB / 1.061 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 (TTanTop.tab.nextTimeEventScaled,tanSta.hysCha.y,TTanTop.tab.nextTimeEvent,TTanBot.tab.nextTimeEventScaled,tanSta.hysEmp.y,TTanBot.tab.nextTimeEvent) * 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.001892/0.9151, allocations: 1.065 MB / 1.335 GB, free: 15.93 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004721/0.9156, allocations: 190.2 kB / 1.335 GB, free: 15.88 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9156, allocations: 192 / 1.335 GB, free: 15.88 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.9157, allocations: 56.52 kB / 1.335 GB, free: 15.86 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.9163, allocations: 91.98 kB / 1.335 GB, free: 15.83 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004613/0.9209, allocations: 3.588 MB / 1.339 GB, free: 13.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.9212, allocations: 0.8106 MB / 1.34 GB, free: 13.1 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000189/0.9214, allocations: 57.73 kB / 1.34 GB, free: 13.09 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.9216, allocations: 131.2 kB / 1.34 GB, free: 13 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.9216, allocations: 1.469 kB / 1.34 GB, free: 13 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/0.952, allocations: 8.554 MB / 1.348 GB, free: 11.9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.431/10.38, allocations: 13.77 kB / 1.348 GB, free: 11.89 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.fmu > Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.7432857209933] Failed to read output from testmodel.py, exit status != 0: 10.564781004039105 10.578255963 9.672523512 Calling exit ...