Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.001313/0.001313, allocations: 113.5 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.00158/0.00158, allocations: 219.1 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.157/3.157, allocations: 0.49 GB / 0.7959 GB, free: 33.42 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.AssertWaterFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",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.00199/0.00199, allocations: 73.12 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.309, allocations: 176.1 MB / 1.327 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004236/0.3132, allocations: 2.537 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00311/0.3163, allocations: 1.739 MB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002378/0.3166, allocations: 7.938 kB / 1.331 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.3176, allocations: 326.7 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006242/0.3182, allocations: 270.8 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005624/0.3188, allocations: 207.5 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005362/0.3193, allocations: 418.6 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.3195, allocations: 52.84 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.3197, allocations: 171.3 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000256/0.32, allocations: 187.1 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.32, allocations: 16 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.3202, allocations: 83.94 kB / 1.333 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.3204, allocations: 135.5 kB / 1.333 GB, free: 11.81 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.3206, allocations: 194.6 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006592/0.3212, allocations: 0.5132 MB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3212, allocations: 4 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3212, allocations: 0 / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.3213, allocations: 0 / 1.333 GB, free: 11.1 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001393/0.3226, allocations: 0.793 MB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3227, allocations: 8.031 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.634e-05/0.3227, allocations: 12.38 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.3228, allocations: 38.73 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.3229, allocations: 68.52 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/0.3235, allocations: 383 kB / 1.335 GB, free: 9.734 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.3235, allocations: 12 kB / 1.335 GB, free: 9.723 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.3235, allocations: 8 kB / 1.335 GB, free: 9.715 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.3238, allocations: 135.3 kB / 1.335 GB, free: 9.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3238, allocations: 0 / 1.335 GB, free: 9.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.3239, allocations: 7.938 kB / 1.335 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3239, allocations: 8 kB / 1.335 GB, free: 9.555 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.324, allocations: 63.97 kB / 1.335 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009044/0.3249, allocations: 0.5501 MB / 1.335 GB, free: 8.898 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.3253, allocations: 130.6 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.3254, allocations: 40.84 kB / 1.336 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.3254, allocations: 0 / 1.336 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/0.3257, allocations: 119.4 kB / 1.336 GB, free: 8.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.3257, allocations: 0 / 1.336 GB, free: 8.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005509/0.3262, allocations: 241.1 kB / 1.336 GB, free: 8.352 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.3263, allocations: 85.11 kB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008694/0.3271, allocations: 0.7033 MB / 1.337 GB, free: 7.539 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.3272, allocations: 33.7 kB / 1.337 GB, free: 7.5 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.3274, allocations: 264.4 kB / 1.337 GB, free: 7.234 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.3275, allocations: 43.72 kB / 1.337 GB, free: 7.191 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.765e-05/0.3276, allocations: 53.69 kB / 1.337 GB, free: 7.133 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.3278, allocations: 370.8 kB / 1.337 GB, free: 6.762 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.3279, allocations: 75.97 kB / 1.337 GB, free: 6.688 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.3281, allocations: 121.1 kB / 1.338 GB, free: 6.551 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.3284, allocations: 140.3 kB / 1.338 GB, free: 6.406 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3284, allocations: 4 kB / 1.338 GB, free: 6.402 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004827/0.3289, allocations: 275.9 kB / 1.338 GB, free: 6.129 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3289, allocations: 6.031 kB / 1.338 GB, free: 6.125 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3289, allocations: 4 kB / 1.338 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.3289, allocations: 0 / 1.338 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.3291, allocations: 39.92 kB / 1.338 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3291, allocations: 3.984 kB / 1.338 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.3293, allocations: 27.88 kB / 1.338 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.3293, allocations: 8.062 kB / 1.338 GB, free: 6.043 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002414/0.3295, allocations: 219.9 kB / 1.338 GB, free: 5.82 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.277e-05/0.3296, allocations: 59.62 kB / 1.338 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/0.33, allocations: 202.8 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.33, allocations: 8.031 kB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.33, allocations: 0 / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.33, allocations: 3.984 kB / 1.338 GB, free: 5.543 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.3304, allocations: 348.4 kB / 1.339 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3304, allocations: 4 kB / 1.339 GB, free: 5.156 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.878e-05/0.3305, allocations: 7.938 kB / 1.339 GB, free: 5.148 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3305, allocations: 4 kB / 1.339 GB, free: 5.145 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.3305, allocations: 3.984 kB / 1.339 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3305, allocations: 0 / 1.339 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3305, allocations: 0 / 1.339 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003775/0.3309, allocations: 228.6 kB / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.331, allocations: 59.5 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.331, allocations: 8 kB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.3311, allocations: 15.98 kB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.098e-05/0.3312, allocations: 11.97 kB / 1.339 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.3312, allocations: 15.98 kB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000566/0.3318, allocations: 479 kB / 1.34 GB, free: 4.328 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3318, allocations: 0 / 1.34 GB, free: 4.328 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003376/0.3321, allocations: 67.83 kB / 1.34 GB, free: 4.262 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: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002206/0.3343, allocations: 1.092 MB / 1.341 GB, free: 3.301 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.3347, allocations: 139.9 kB / 1.341 GB, free: 3.164 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3347, allocations: 3.938 kB / 1.341 GB, free: 3.16 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.3349, allocations: 60.03 kB / 1.341 GB, free: 3.102 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.3354, allocations: 96.92 kB / 1.341 GB, free: 3.012 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005203/0.3406, allocations: 3.956 MB / 1.345 GB, free: 14.96 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.3411, allocations: 0.8689 MB / 1.346 GB, free: 14.06 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000162/0.3413, allocations: 54.94 kB / 1.346 GB, free: 14.01 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.3415, allocations: 171.4 kB / 1.346 GB, free: 13.84 MB / 1.045 GB Notification: Performance of SimCode: time 1.153e-06/0.3415, allocations: 0 / 1.346 GB, free: 13.84 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.3764, allocations: 10.25 MB / 1.356 GB, free: 3.734 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.36, allocations: 10.3 kB / 1.356 GB, free: 3.727 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.00490003899904] Failed to read output from testmodel.py, exit status != 0: 12.580432368034963 12.60606997 12.281190599 Calling exit ...