Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001667/0.001667, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002163/0.002163, allocations: 218.3 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_11_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.001965/0.001965, allocations: 63.16 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3543, allocations: 170 MB / 1.284 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004509/0.3588, allocations: 2.522 MB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003218/0.362, allocations: 1.758 MB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.3623, allocations: 7.938 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.3633, allocations: 322.6 kB / 1.289 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006588/0.364, allocations: 262.8 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00062/0.3646, allocations: 212.9 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006096/0.3652, allocations: 414.6 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.3654, allocations: 40.91 kB / 1.29 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.3657, allocations: 179.2 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.366, allocations: 179.2 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.366, allocations: 20 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002179/0.3662, allocations: 91.86 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.3664, allocations: 127.5 kB / 1.29 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002119/0.3666, allocations: 206.5 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007529/0.3674, allocations: 0.5017 MB / 1.291 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3674, allocations: 4 kB / 1.291 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.228e-06/0.3674, allocations: 3.984 kB / 1.291 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.3674, allocations: 0 / 1.291 GB, free: 4.758 MB / 0.9825 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.001533/0.3689, allocations: 0.7891 MB / 1.292 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.369, allocations: 12.03 kB / 1.292 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.17e-05/0.369, allocations: 4.375 kB / 1.292 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.563e-05/0.369, allocations: 42.73 kB / 1.292 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.3692, allocations: 64.52 kB / 1.292 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006603/0.3698, allocations: 386.9 kB / 1.292 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.3698, allocations: 8 kB / 1.292 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.105e-05/0.3699, allocations: 15.94 kB / 1.292 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.3702, allocations: 135.3 kB / 1.292 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3702, allocations: 8 kB / 1.292 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.3702, allocations: 3.938 kB / 1.292 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3702, allocations: 0 / 1.292 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.3704, allocations: 71.95 kB / 1.292 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.3714, allocations: 0.5462 MB / 1.293 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.3718, allocations: 126.7 kB / 1.293 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.3719, allocations: 40.84 kB / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.3719, allocations: 0 / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002868/0.3722, allocations: 123.4 kB / 1.293 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.3722, allocations: 4 kB / 1.293 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0005803/0.3728, allocations: 235.6 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.219e-05/0.3729, allocations: 77.11 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008359/0.3737, allocations: 0.7072 MB / 1.294 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.3737, allocations: 33.7 kB / 1.294 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.374, allocations: 268.4 kB / 1.294 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.405e-05/0.374, allocations: 35.73 kB / 1.294 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.3741, allocations: 57.69 kB / 1.294 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.3743, allocations: 374.8 kB / 1.295 GB, free: 428 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.3745, allocations: 71.97 kB / 1.295 GB, free: 356 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/0.3747, allocations: 129.9 kB / 1.295 GB, free: 208 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.375, allocations: 137.7 kB / 1.295 GB, free: 64 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.375, allocations: 0 / 1.295 GB, free: 64 kB / 0.9825 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005094/0.3755, allocations: 281.2 kB / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3755, allocations: 4 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3755, allocations: 0 / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3755, allocations: 4 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.3757, allocations: 39.91 kB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.3757, allocations: 4 kB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001734/0.3759, allocations: 27.94 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.3759, allocations: 8 kB / 1.296 GB, free: 15.69 MB / 0.9981 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.0002614/0.3762, allocations: 215.4 kB / 1.296 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.273e-05/0.3762, allocations: 55.62 kB / 1.296 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004299/0.3767, allocations: 206.9 kB / 1.296 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3767, allocations: 0 / 1.296 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.3767, allocations: 3.938 kB / 1.296 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.3767, allocations: 8 kB / 1.296 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003686/0.3771, allocations: 348.4 kB / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3771, allocations: 3.938 kB / 1.296 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.3771, allocations: 11.98 kB / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3771, allocations: 0 / 1.296 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.3771, allocations: 8 kB / 1.296 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3771, allocations: 0 / 1.296 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3771, allocations: 0 / 1.296 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.3775, allocations: 225.5 kB / 1.297 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.236e-05/0.3776, allocations: 55.56 kB / 1.297 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.3776, allocations: 7.984 kB / 1.297 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.3777, allocations: 11.98 kB / 1.297 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.3778, allocations: 23.92 kB / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.3778, allocations: 7.984 kB / 1.297 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005534/0.3784, allocations: 479 kB / 1.297 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3784, allocations: 0 / 1.297 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003377/0.3787, allocations: 75.81 kB / 1.297 GB, free: 13.91 MB / 0.9981 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.002173/0.3809, allocations: 1.08 MB / 1.298 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004106/0.3813, allocations: 158.1 kB / 1.298 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3813, allocations: 4 kB / 1.298 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.3814, allocations: 47.97 kB / 1.298 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.382, allocations: 98.52 kB / 1.299 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005426/0.3874, allocations: 3.972 MB / 1.302 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.3879, allocations: 0.8688 MB / 1.303 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001774/0.3881, allocations: 46.95 kB / 1.303 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.3884, allocations: 179.4 kB / 1.303 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/0.3884, allocations: 0 / 1.303 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.4236, allocations: 10.24 MB / 1.313 GB, free: 13.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.22, allocations: 16.31 kB / 1.313 GB, free: 13.37 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.141935886000283] Failed to read output from testmodel.py, exit status != 0: 13.055844073009212 12.476045099 12.103428068 Calling exit ...