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.001292/0.001292, allocations: 116.8 kB / 17.17 MB, free: 5.906 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.001417/0.001417, allocations: 209.2 kB / 20.13 MB, free: 2.969 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.512/1.512, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.98/2.98, allocations: 0.49 GB / 0.7923 GB, free: 1.336 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.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.002069/0.002069, allocations: 67.91 kB / 1.15 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9004/0.9025, allocations: 176.1 MB / 1.321 GB, free: 7.645 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003952/0.9064, allocations: 2.224 MB / 1.324 GB, free: 5.906 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002652/0.9091, allocations: 1.539 MB / 1.325 GB, free: 4.703 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.9093, allocations: 6.312 kB / 1.325 GB, free: 4.699 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007068/0.91, allocations: 191.5 kB / 1.325 GB, free: 4.582 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005233/0.9105, allocations: 175.4 kB / 1.326 GB, free: 4.461 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.9109, allocations: 111.6 kB / 1.326 GB, free: 4.379 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.9113, allocations: 244.3 kB / 1.326 GB, free: 4.23 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.9114, allocations: 29.2 kB / 1.326 GB, free: 4.207 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.9116, allocations: 109.7 kB / 1.326 GB, free: 4.141 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.9118, allocations: 99.23 kB / 1.326 GB, free: 4.082 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.9119, allocations: 15.03 kB / 1.326 GB, free: 4.078 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.912, allocations: 54.41 kB / 1.326 GB, free: 4.059 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.9121, allocations: 96.48 kB / 1.326 GB, free: 4 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.9123, allocations: 140.2 kB / 1.326 GB, free: 3.891 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.9128, allocations: 365.6 kB / 1.327 GB, free: 3.641 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.9128, allocations: 1.156 kB / 1.327 GB, free: 3.641 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9128, allocations: 0 / 1.327 GB, free: 3.641 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.9128, allocations: 0 / 1.327 GB, free: 3.641 MB / 1.014 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.001058/0.9139, allocations: 0.6917 MB / 1.327 GB, free: 3.004 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.9139, allocations: 25.47 kB / 1.327 GB, free: 2.988 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.292e-05/0.9139, allocations: 2.469 kB / 1.327 GB, free: 2.988 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.914, allocations: 35.97 kB / 1.327 GB, free: 2.945 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.135e-05/0.914, allocations: 45.84 kB / 1.328 GB, free: 2.922 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.9145, allocations: 363.7 kB / 1.328 GB, free: 2.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.9146, allocations: 10.22 kB / 1.328 GB, free: 2.582 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.9146, allocations: 5.75 kB / 1.328 GB, free: 2.582 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.9148, allocations: 78.75 kB / 1.328 GB, free: 2.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.9148, allocations: 0 / 1.328 GB, free: 2.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.9148, allocations: 1.188 kB / 1.328 GB, free: 2.52 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.9148, allocations: 1.375 kB / 1.328 GB, free: 2.52 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.9149, allocations: 34.23 kB / 1.328 GB, free: 2.504 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007915/0.9157, allocations: 461.6 kB / 1.328 GB, free: 2.09 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.9159, allocations: 64.59 kB / 1.328 GB, free: 2.043 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.481e-05/0.916, allocations: 38.14 kB / 1.329 GB, free: 2.012 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.916, allocations: 4.938 kB / 1.329 GB, free: 2.008 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.9162, allocations: 80.98 kB / 1.329 GB, free: 1.934 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.9162, allocations: 0 / 1.329 GB, free: 1.934 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.0003765/0.9166, allocations: 142.2 kB / 1.329 GB, free: 1.848 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.9166, allocations: 56.59 kB / 1.329 GB, free: 1.781 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000659/0.9173, allocations: 0.5452 MB / 1.329 GB, free: 1.465 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.9173, allocations: 26.8 kB / 1.329 GB, free: 1.434 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.9175, allocations: 228.9 kB / 1.33 GB, free: 1.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.9175, allocations: 18.53 kB / 1.33 GB, free: 1.215 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.738e-05/0.9176, allocations: 41.27 kB / 1.33 GB, free: 1.184 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.9178, allocations: 360.7 kB / 1.33 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.9179, allocations: 54.8 kB / 1.33 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.918, allocations: 75.92 kB / 1.33 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.9182, allocations: 83.69 kB / 1.33 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9182, allocations: 0 / 1.33 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003375/0.9185, allocations: 200.2 kB / 1.33 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.9185, allocations: 11.2 kB / 1.33 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.9185, allocations: 5.125 kB / 1.33 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.9186, allocations: 5.125 kB / 1.33 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.9187, allocations: 22 kB / 1.33 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.9187, allocations: 5.047 kB / 1.33 GB, free: 0.582 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.9188, allocations: 14.92 kB / 1.33 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.9188, allocations: 8.406 kB / 1.33 GB, free: 0.5703 MB / 1.014 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.0001834/0.919, allocations: 184.1 kB / 1.331 GB, free: 428 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.9191, allocations: 42.91 kB / 1.331 GB, free: 404 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.091e-05/0.9192, allocations: 54.94 kB / 1.331 GB, free: 364 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.9192, allocations: 1.531 kB / 1.331 GB, free: 364 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.9192, allocations: 0 / 1.331 GB, free: 364 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.9192, allocations: 1.062 kB / 1.331 GB, free: 364 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.9195, allocations: 293.8 kB / 1.331 GB, free: 84 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.9195, allocations: 0 / 1.331 GB, free: 84 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.9195, allocations: 3.812 kB / 1.331 GB, free: 84 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.9195, allocations: 3.938 kB / 1.331 GB, free: 80 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.9195, allocations: 9.562 kB / 1.331 GB, free: 72 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.9195, allocations: 0 / 1.331 GB, free: 72 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.9195, allocations: 5.625 kB / 1.331 GB, free: 68 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.9198, allocations: 151.9 kB / 1.331 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.9199, allocations: 125.3 kB / 1.331 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.993e-05/0.9199, allocations: 4.938 kB / 1.331 GB, free: 15.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.037e-05/0.92, allocations: 9.984 kB / 1.331 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.9201, allocations: 11.48 kB / 1.331 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.9201, allocations: 2.812 kB / 1.331 GB, free: 15.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003917/0.9205, allocations: 372.5 kB / 1.332 GB, free: 15.59 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.9205, allocations: 1.375 kB / 1.332 GB, free: 15.59 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002895/0.9208, allocations: 42.36 kB / 1.332 GB, free: 15.58 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 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * 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.001998/0.9228, allocations: 1.001 MB / 1.333 GB, free: 14.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.923, allocations: 96.14 kB / 1.333 GB, free: 14.78 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.923, allocations: 0 / 1.333 GB, free: 14.78 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 7.432e-05/0.9231, allocations: 23.06 kB / 1.333 GB, free: 14.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.9235, allocations: 69.98 kB / 1.333 GB, free: 14.73 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/0.9273, allocations: 3.111 MB / 1.336 GB, free: 12.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.9278, allocations: 0.8155 MB / 1.337 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.697e-05/0.9279, allocations: 29.97 kB / 1.337 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.928, allocations: 115 kB / 1.337 GB, free: 11.75 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.928, allocations: 0 / 1.337 GB, free: 11.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.9554, allocations: 7.415 MB / 1.344 GB, free: 7.91 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.214/10.17, allocations: 7.281 kB / 1.344 GB, free: 7.91 MB / 1.029 GB " [Timeout remaining time 290] (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: 16.555040329985786] Failed to read output from testmodel.py, exit status != 0: 10.359500289021526 10.385741181 9.467808884 Calling exit ...