Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001495/0.001495, 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.001486/0.001486, allocations: 221.1 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.145/3.145, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 177] 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.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_latest_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.001936/0.001936, allocations: 62.33 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3307, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003898/0.3346, allocations: 2.144 MB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002417/0.337, allocations: 1.435 MB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.3372, allocations: 8 kB / 1.349 GB, free: 12.3 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006227/0.3378, allocations: 179 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003937/0.3382, allocations: 167.2 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.3384, allocations: 111.6 kB / 1.349 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.3388, allocations: 243.1 kB / 1.349 GB, free: 11.62 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.3389, allocations: 36.56 kB / 1.349 GB, free: 11.58 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.339, allocations: 95.58 kB / 1.35 GB, free: 11.49 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.3392, allocations: 111.4 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.3392, allocations: 12 kB / 1.35 GB, free: 11.37 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.3394, allocations: 51.97 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.3395, allocations: 99.61 kB / 1.35 GB, free: 11.22 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.3396, allocations: 103.2 kB / 1.35 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.34, allocations: 370.2 kB / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.34, allocations: 0 / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.403e-06/0.34, allocations: 0 / 1.35 GB, free: 10.75 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.34, allocations: 0 / 1.35 GB, free: 10.75 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009937/0.341, allocations: 0.6319 MB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3411, allocations: 12.03 kB / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.258e-05/0.3411, allocations: 192 / 1.351 GB, free: 10.08 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.3411, allocations: 38.75 kB / 1.351 GB, free: 10.03 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.365e-05/0.3412, allocations: 48.61 kB / 1.351 GB, free: 9.984 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.3417, allocations: 298.9 kB / 1.351 GB, free: 9.668 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3417, allocations: 7.938 kB / 1.351 GB, free: 9.66 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.3417, allocations: 4 kB / 1.351 GB, free: 9.656 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.3419, allocations: 107.3 kB / 1.351 GB, free: 9.539 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3419, allocations: 4 kB / 1.351 GB, free: 9.535 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3419, allocations: 0 / 1.351 GB, free: 9.535 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3419, allocations: 7.938 kB / 1.351 GB, free: 9.527 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.3421, allocations: 43.91 kB / 1.351 GB, free: 9.484 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006788/0.3427, allocations: 403.7 kB / 1.352 GB, free: 9.047 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.3429, allocations: 70.61 kB / 1.352 GB, free: 8.969 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.758e-05/0.343, allocations: 28.84 kB / 1.352 GB, free: 8.938 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.343, allocations: 4 kB / 1.352 GB, free: 8.934 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.3432, allocations: 101.1 kB / 1.352 GB, free: 8.816 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3432, allocations: 0 / 1.352 GB, free: 8.816 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0003445/0.3435, allocations: 157.2 kB / 1.352 GB, free: 8.656 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.3436, allocations: 59.41 kB / 1.352 GB, free: 8.586 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.3442, allocations: 0.5495 MB / 1.353 GB, free: 8.027 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.3442, allocations: 33.7 kB / 1.353 GB, free: 7.988 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.3444, allocations: 220 kB / 1.353 GB, free: 7.77 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.3445, allocations: 15.89 kB / 1.353 GB, free: 7.754 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.3445, allocations: 37.7 kB / 1.353 GB, free: 7.711 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3447, allocations: 366.8 kB / 1.353 GB, free: 7.344 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3448, allocations: 47.98 kB / 1.353 GB, free: 7.297 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.345, allocations: 100.2 kB / 1.354 GB, free: 7.184 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.3451, allocations: 100.4 kB / 1.354 GB, free: 7.082 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3451, allocations: 0 / 1.354 GB, free: 7.082 MB / 1.045 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003517/0.3455, allocations: 201.3 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3455, allocations: 4 kB / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3455, allocations: 0 / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3455, allocations: 12 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.3457, allocations: 24.17 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.3457, allocations: 0 / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.3458, allocations: 27.91 kB / 1.354 GB, free: 6.812 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.3458, allocations: 4 kB / 1.354 GB, free: 6.809 MB / 1.045 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.0001983/0.346, allocations: 186.7 kB / 1.354 GB, free: 6.617 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.3461, allocations: 43.72 kB / 1.354 GB, free: 6.574 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002828/0.3463, allocations: 133.5 kB / 1.354 GB, free: 6.434 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3463, allocations: 4 kB / 1.354 GB, free: 6.43 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3464, allocations: 4.109 kB / 1.354 GB, free: 6.426 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.3464, allocations: 7.922 kB / 1.354 GB, free: 6.418 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.3466, allocations: 260.6 kB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3466, allocations: 0 / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.3467, allocations: 8 kB / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3467, allocations: 3.984 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/0.3467, allocations: 7.938 kB / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3467, allocations: 0 / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3467, allocations: 0 / 1.355 GB, free: 6.102 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.3469, allocations: 160.8 kB / 1.355 GB, free: 5.926 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.347, allocations: 39.7 kB / 1.355 GB, free: 5.887 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.347, allocations: 11.94 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.427e-05/0.3471, allocations: 4 kB / 1.355 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.3472, allocations: 11.97 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.3472, allocations: 4 kB / 1.355 GB, free: 5.855 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004177/0.3476, allocations: 370.8 kB / 1.355 GB, free: 5.496 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3476, allocations: 0 / 1.355 GB, free: 5.496 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002817/0.3479, allocations: 51.88 kB / 1.355 GB, free: 5.445 MB / 1.045 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.002216/0.3501, allocations: 1.046 MB / 1.356 GB, free: 4.555 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002948/0.3504, allocations: 99.83 kB / 1.356 GB, free: 4.457 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3504, allocations: 0 / 1.356 GB, free: 4.457 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.3505, allocations: 27.98 kB / 1.356 GB, free: 4.43 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.3509, allocations: 61.28 kB / 1.356 GB, free: 4.371 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.355, allocations: 3.126 MB / 1.359 GB, free: 1.152 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.3552, allocations: 216.4 kB / 1.36 GB, free: 0.918 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.3553, allocations: 29.61 kB / 1.36 GB, free: 0.8867 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.3555, allocations: 115.4 kB / 1.36 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.3555, allocations: 4 kB / 1.36 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04352/0.399, allocations: 7.831 MB / 1.367 GB, free: 9.051 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.26, allocations: 12.06 kB / 1.367 GB, free: 9.039 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.90720378793776] Failed to read output from testmodel.py, exit status != 0: 12.478488294989802 12.498250174 12.15422824 Calling exit ...