Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.001316/0.001316, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001526/0.001526, allocations: 219.6 kB / 23.03 MB, free: 4.945 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.448/1.448, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 3.093/3.093, allocations: 0.49 GB / 0.7959 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",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.002003/0.002003, allocations: 62.42 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3113, allocations: 176.1 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003899/0.3152, allocations: 2.139 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002463/0.3177, allocations: 1.432 MB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.3179, allocations: 4 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005991/0.3185, allocations: 183.1 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004667/0.3189, allocations: 171.2 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002977/0.3192, allocations: 111.6 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.3196, allocations: 251 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.3197, allocations: 28.58 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.3199, allocations: 103.6 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.3201, allocations: 107.5 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.3201, allocations: 12 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3203, allocations: 51.98 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.3204, allocations: 95.61 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3205, allocations: 103.2 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004926/0.321, allocations: 374.2 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.321, allocations: 0 / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.212e-06/0.321, allocations: 7.938 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.238e-06/0.321, allocations: 0 / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001066/0.3221, allocations: 0.6203 MB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3221, allocations: 12.03 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.604e-05/0.3222, allocations: 4.172 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.3222, allocations: 38.75 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.312e-05/0.3223, allocations: 44.66 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.3227, allocations: 302.8 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.3228, allocations: 7.938 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.3228, allocations: 4 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.323, allocations: 115.2 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.323, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.323, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.323, allocations: 0 / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.3231, allocations: 35.98 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007253/0.3239, allocations: 419.6 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.3241, allocations: 70.67 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.986e-05/0.3242, allocations: 36.78 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.3242, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.3244, allocations: 105.1 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.3244, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003799/0.3248, allocations: 149.3 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.3248, allocations: 59.39 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006749/0.3255, allocations: 0.5456 MB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.3255, allocations: 25.7 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.3257, allocations: 224 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.3257, allocations: 11.91 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.198e-05/0.3258, allocations: 53.64 kB / 1.334 GB, free: 9.312 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.326, allocations: 354.8 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.3261, allocations: 55.97 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.3263, allocations: 98.39 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.3265, allocations: 99.41 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3265, allocations: 0 / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003477/0.3268, allocations: 197.3 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3268, allocations: 4 kB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3268, allocations: 4.062 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3268, allocations: 3.938 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.327, allocations: 31.92 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.327, allocations: 3.938 kB / 1.335 GB, free: 8.445 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.3271, allocations: 20.12 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.3271, allocations: 8 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001981/0.3273, allocations: 187.4 kB / 1.335 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.56e-05/0.3274, allocations: 43.72 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002932/0.3277, allocations: 145.5 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3277, allocations: 4 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3277, allocations: 4 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3277, allocations: 0 / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.328, allocations: 260.6 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.328, allocations: 0 / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.328, allocations: 4 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.328, allocations: 4 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.328, allocations: 3.938 kB / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.328, allocations: 0 / 1.336 GB, free: 7.715 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.328, allocations: 3.984 kB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.3283, allocations: 164.7 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.3284, allocations: 39.72 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.3284, allocations: 7.938 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.3285, allocations: 7.984 kB / 1.336 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.3286, allocations: 11.98 kB / 1.336 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3286, allocations: 7.984 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004341/0.329, allocations: 366.8 kB / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.329, allocations: 0 / 1.336 GB, free: 7.102 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002786/0.3293, allocations: 43.94 kB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002227/0.3315, allocations: 1.047 MB / 1.338 GB, free: 6.168 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003007/0.3318, allocations: 99.81 kB / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3318, allocations: 0 / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.987e-05/0.3319, allocations: 35.92 kB / 1.338 GB, free: 6.035 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.3323, allocations: 50.25 kB / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/0.3362, allocations: 3.131 MB / 1.341 GB, free: 2.758 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.3364, allocations: 216.4 kB / 1.341 GB, free: 2.527 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.112e-05/0.3365, allocations: 29.45 kB / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.3366, allocations: 115.4 kB / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.3366, allocations: 0 / 1.341 GB, free: 2.387 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0353/0.3719, allocations: 7.84 MB / 1.349 GB, free: 10.68 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.46, allocations: 10.44 kB / 1.349 GB, free: 10.68 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.96263062406797] Failed to read output from testmodel.py, exit status != 0: 12.679827822954394 12.702579479 12.377319094 Calling exit ...