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.001326/0.001326, 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.001498/0.001498, allocations: 217 kB / 23.04 MB, free: 5.078 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.067/3.067, allocations: 0.49 GB / 0.7959 GB, free: 33.24 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.001942/0.001942, allocations: 67.89 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3153, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004254/0.3195, allocations: 2.228 MB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002853/0.3224, allocations: 1.556 MB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001702/0.3226, allocations: 8 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006121/0.3232, allocations: 187 kB / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.3236, allocations: 167.2 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.3239, allocations: 111.6 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.3243, allocations: 247 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.3244, allocations: 28.58 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002123/0.3246, allocations: 115.5 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.3248, allocations: 99.55 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.92e-05/0.3248, allocations: 8 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001584/0.325, allocations: 55.97 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.3252, allocations: 103.5 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.3253, allocations: 138.9 kB / 1.332 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000547/0.3258, allocations: 362.2 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.3259, allocations: 4 kB / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3259, allocations: 0 / 1.332 GB, free: 12.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.3259, allocations: 3.938 kB / 1.332 GB, free: 12.55 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.001164/0.327, allocations: 0.6281 MB / 1.333 GB, free: 11.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3271, allocations: 11.97 kB / 1.333 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.291e-05/0.3271, allocations: 192 / 1.333 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.3271, allocations: 38.75 kB / 1.333 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.516e-05/0.3272, allocations: 44.66 kB / 1.333 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004571/0.3277, allocations: 302.9 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3277, allocations: 3.938 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.3277, allocations: 8 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.3279, allocations: 81.59 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3279, allocations: 0 / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3279, allocations: 0 / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.3279, allocations: 0 / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.328, allocations: 39.97 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008508/0.3289, allocations: 423.6 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.3291, allocations: 74.78 kB / 1.334 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.3291, allocations: 24.78 kB / 1.334 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.3292, allocations: 3.984 kB / 1.334 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.3293, allocations: 79.33 kB / 1.334 GB, free: 10.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.3293, allocations: 4 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004204/0.3298, allocations: 157.3 kB / 1.334 GB, free: 10.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3298, allocations: 51.41 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006947/0.3305, allocations: 0.5418 MB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.3305, allocations: 29.7 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002147/0.3307, allocations: 220 kB / 1.335 GB, free: 9.641 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.3308, allocations: 19.88 kB / 1.335 GB, free: 9.621 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.098e-05/0.3309, allocations: 41.66 kB / 1.335 GB, free: 9.574 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002277/0.3311, allocations: 362.8 kB / 1.335 GB, free: 9.211 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.3312, allocations: 51.89 kB / 1.335 GB, free: 9.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.3313, allocations: 84.36 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.3315, allocations: 87.75 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3315, allocations: 0 / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003562/0.3319, allocations: 197.3 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3319, allocations: 8 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3319, allocations: 0 / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3319, allocations: 3.938 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.3321, allocations: 27.98 kB / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3321, allocations: 0 / 1.335 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.3322, allocations: 19.88 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.3322, allocations: 8 kB / 1.335 GB, free: 8.715 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.0002104/0.3324, allocations: 188.2 kB / 1.336 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.3325, allocations: 43.72 kB / 1.336 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003059/0.3328, allocations: 133.5 kB / 1.336 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3328, allocations: 3.938 kB / 1.336 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3328, allocations: 0 / 1.336 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3328, allocations: 0 / 1.336 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.3331, allocations: 268.6 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.3331, allocations: 4 kB / 1.336 GB, free: 8.027 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.3331, allocations: 3.938 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3331, allocations: 4 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.3332, allocations: 7.938 kB / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3332, allocations: 0 / 1.336 GB, free: 8.012 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3332, allocations: 3.938 kB / 1.336 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.3334, allocations: 161.1 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.609e-05/0.3335, allocations: 35.72 kB / 1.336 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.3335, allocations: 11.94 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.398e-05/0.3336, allocations: 7.984 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.3337, allocations: 11.98 kB / 1.336 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.3337, allocations: 4 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004165/0.3341, allocations: 366.8 kB / 1.337 GB, free: 7.406 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3341, allocations: 0 / 1.337 GB, free: 7.406 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002637/0.3344, allocations: 47.92 kB / 1.337 GB, free: 7.359 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 (6): * Single equations (assignments): 4 * 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.001948/0.3363, allocations: 1.008 MB / 1.338 GB, free: 6.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.3366, allocations: 95.83 kB / 1.338 GB, free: 6.387 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3366, allocations: 0 / 1.338 GB, free: 6.387 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.541e-05/0.3367, allocations: 23.98 kB / 1.338 GB, free: 6.363 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.337, allocations: 56.16 kB / 1.338 GB, free: 6.309 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003762/0.3408, allocations: 3.106 MB / 1.341 GB, free: 3.109 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004567/0.3412, allocations: 0.8139 MB / 1.342 GB, free: 2.27 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.441e-05/0.3413, allocations: 29.45 kB / 1.342 GB, free: 2.238 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.3415, allocations: 115.4 kB / 1.342 GB, free: 2.129 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/0.3415, allocations: 0 / 1.342 GB, free: 2.129 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.3708, allocations: 7.55 MB / 1.349 GB, free: 10.71 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.13, allocations: 15.86 kB / 1.349 GB, free: 10.7 MB / 1.045 GB " [Timeout remaining time 288] (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.71039442397887] Failed to read output from testmodel.py, exit status != 0: 12.346186892013066 12.372171963 12.041672173 Calling exit ...