Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001327/0.001327, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.001493/0.001493, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.755/2.755, allocations: 476.7 MB / 0.7715 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus,fileNamePrefix="Buildings_11_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.002088/0.002088, allocations: 62.72 kB / 1.118 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3527, allocations: 170 MB / 1.284 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus): time 0.004478/0.3572, allocations: 2.303 MB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002834/0.36, allocations: 1.442 MB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003123/0.3603, allocations: 11.88 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005505/0.3609, allocations: 167.3 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006299/0.3615, allocations: 231 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005129/0.362, allocations: 183.5 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005978/0.3626, allocations: 434.8 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.3628, allocations: 65.08 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.3632, allocations: 199.2 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.3634, allocations: 195.2 kB / 1.289 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.596e-05/0.3635, allocations: 28 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000195/0.3637, allocations: 83.95 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001479/0.3638, allocations: 107.6 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.364, allocations: 174.9 kB / 1.29 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000695/0.3647, allocations: 0.494 MB / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3647, allocations: 0 / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3647, allocations: 0 / 1.29 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.3647, allocations: 0 / 1.29 GB, free: 5.496 MB / 0.9825 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.001271/0.366, allocations: 0.6673 MB / 1.291 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.366, allocations: 8.031 kB / 1.291 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.825e-05/0.3661, allocations: 4.188 kB / 1.291 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.232e-05/0.3661, allocations: 46.73 kB / 1.291 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.3662, allocations: 48.61 kB / 1.291 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006997/0.3669, allocations: 372.7 kB / 1.291 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.3669, allocations: 11.94 kB / 1.291 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.367, allocations: 16 kB / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003799/0.3673, allocations: 173.9 kB / 1.291 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3674, allocations: 0 / 1.291 GB, free: 4.082 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.3674, allocations: 7.984 kB / 1.291 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.3674, allocations: 4 kB / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.3676, allocations: 91.83 kB / 1.291 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001298/0.3689, allocations: 0.7573 MB / 1.292 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.3693, allocations: 137.4 kB / 1.292 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.3694, allocations: 49.7 kB / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.3694, allocations: 0 / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002886/0.3697, allocations: 133 kB / 1.293 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=12): time 1.293e-06/0.3697, allocations: 0 / 1.293 GB, free: 2.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12): time 0.0005855/0.3703, allocations: 225.3 kB / 1.293 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/0.3704, allocations: 106.8 kB / 1.293 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007769/0.3711, allocations: 0.5994 MB / 1.293 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.3712, allocations: 33.7 kB / 1.293 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.3714, allocations: 204.4 kB / 1.294 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.3714, allocations: 43.73 kB / 1.294 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.3715, allocations: 81.62 kB / 1.294 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3717, allocations: 354.7 kB / 1.294 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.3719, allocations: 108 kB / 1.294 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.3722, allocations: 161.8 kB / 1.294 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.3726, allocations: 197.7 kB / 1.295 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3726, allocations: 0 / 1.295 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006379/0.3732, allocations: 345.1 kB / 1.295 GB, free: 300 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3732, allocations: 12.09 kB / 1.295 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3732, allocations: 0 / 1.295 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.3732, allocations: 4.109 kB / 1.295 GB, free: 284 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.3735, allocations: 51.84 kB / 1.295 GB, free: 232 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.3735, allocations: 0 / 1.295 GB, free: 232 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.3737, allocations: 39.86 kB / 1.295 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.3738, allocations: 12 kB / 1.295 GB, free: 180 kB / 0.9825 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.0002793/0.374, allocations: 203.4 kB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.3741, allocations: 43.72 kB / 1.295 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004355/0.3745, allocations: 197 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3745, allocations: 4 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3745, allocations: 0.625 kB / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3745, allocations: 0 / 1.295 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003432/0.3749, allocations: 308.5 kB / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3749, allocations: 0 / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.3749, allocations: 12 kB / 1.296 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3749, allocations: 4 kB / 1.296 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.375, allocations: 11.94 kB / 1.296 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.375, allocations: 3.984 kB / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.375, allocations: 0 / 1.296 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.3753, allocations: 213.5 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.757e-05/0.3754, allocations: 43.72 kB / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.713e-05/0.3755, allocations: 15.98 kB / 1.296 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.3756, allocations: 11.98 kB / 1.296 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.3757, allocations: 19.97 kB / 1.296 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.3757, allocations: 7.984 kB / 1.296 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004714/0.3762, allocations: 375 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3762, allocations: 0 / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003663/0.3766, allocations: 71.88 kB / 1.296 GB, free: 14.59 MB / 0.9981 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.002334/0.3789, allocations: 1.071 MB / 1.298 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005288/0.3794, allocations: 194.3 kB / 1.298 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3794, allocations: 4.188 kB / 1.298 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.3796, allocations: 51.91 kB / 1.298 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/0.3802, allocations: 101.6 kB / 1.298 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004985/0.3852, allocations: 3.591 MB / 1.301 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.3856, allocations: 0.8107 MB / 1.302 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001835/0.3858, allocations: 63.19 kB / 1.302 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.3861, allocations: 131.4 kB / 1.302 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of SimCode: time 1.203e-06/0.3861, allocations: 0 / 1.302 GB, free: 8.574 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/0.4193, allocations: 8.819 MB / 1.311 GB, free: 15.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.23, allocations: 9.422 kB / 1.311 GB, free: 15.88 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; mkfifo Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe ; head -c 1048576 < Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe >> ../files/Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus_res.mat --tempDir=temp_Buildings_11_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_DHC_Plants_Cooling_Controls_Validation_TankStatus.fmu > Buildings_11_Buildings.DHC.Plants.Cooling.Controls.Validation.TankStatus.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.973915305978153] Failed to read output from testmodel.py, exit status != 0: 13.010107493028045 12.476362644 12.108338045 Calling exit ...