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.001689/0.001689, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002035/0.002035, allocations: 218.7 kB / 23.03 MB, free: 4.922 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.164/3.164, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.00197/0.00197, allocations: 63.47 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3044, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.004412/0.3088, allocations: 2.425 MB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003056/0.3119, allocations: 1.609 MB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002753/0.3121, allocations: 7.938 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009518/0.3131, allocations: 310.7 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0006142/0.3137, allocations: 282.8 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.3142, allocations: 199.6 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005424/0.3148, allocations: 418.6 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001611/0.3149, allocations: 48.83 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.3152, allocations: 163.3 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.3154, allocations: 187.1 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.3155, allocations: 20 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.3157, allocations: 83.88 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.3158, allocations: 139.5 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.316, allocations: 146.8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006165/0.3166, allocations: 0.5249 MB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3166, allocations: 4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3166, allocations: 0 / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3166, allocations: 0 / 1.333 GB, free: 10.89 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.001202/0.3178, allocations: 0.7813 MB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3179, allocations: 12.03 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.956e-05/0.3179, allocations: 16.38 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.967e-05/0.3179, allocations: 38.73 kB / 1.334 GB, free: 9.992 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.909e-05/0.318, allocations: 64.52 kB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000582/0.3186, allocations: 386.9 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.3186, allocations: 12 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.3187, allocations: 12 kB / 1.334 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003237/0.319, allocations: 187.9 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.319, allocations: 0 / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.319, allocations: 11.92 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.319, allocations: 3.984 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.3192, allocations: 79.91 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008683/0.3201, allocations: 0.5189 MB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.3204, allocations: 122.8 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.3205, allocations: 44.83 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.3205, allocations: 0 / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.3208, allocations: 157 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.3208, allocations: 0 / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0005441/0.3213, allocations: 249.2 kB / 1.336 GB, free: 8.039 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.3214, allocations: 77.11 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008477/0.3222, allocations: 0.7111 MB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.3223, allocations: 33.69 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.3225, allocations: 264.4 kB / 1.337 GB, free: 6.922 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.3225, allocations: 39.73 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.3226, allocations: 57.69 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3228, allocations: 374.7 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.323, allocations: 75.97 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.3232, allocations: 202.2 kB / 1.337 GB, free: 6.137 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.3235, allocations: 141.5 kB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3235, allocations: 3.938 kB / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004752/0.3239, allocations: 285.1 kB / 1.338 GB, free: 5.703 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.324, allocations: 4 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.324, allocations: 4.062 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.324, allocations: 4 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.3242, allocations: 35.97 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3242, allocations: 0 / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001684/0.3243, allocations: 27.88 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.3244, allocations: 4 kB / 1.338 GB, free: 5.625 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.0002448/0.3246, allocations: 227.9 kB / 1.338 GB, free: 5.395 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.3247, allocations: 59.62 kB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004463/0.3251, allocations: 222.8 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3251, allocations: 0 / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.3251, allocations: 4 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3251, allocations: 3.938 kB / 1.338 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.3255, allocations: 332.4 kB / 1.339 GB, free: 4.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.3255, allocations: 3.984 kB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.3255, allocations: 16 kB / 1.339 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3256, allocations: 0 / 1.339 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3256, allocations: 0 / 1.339 GB, free: 4.715 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3256, allocations: 4 kB / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3256, allocations: 0 / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.326, allocations: 254.3 kB / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.451e-05/0.3261, allocations: 47.62 kB / 1.339 GB, free: 4.398 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/0.3261, allocations: 8 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.3263, allocations: 11.98 kB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.406e-05/0.3263, allocations: 19.97 kB / 1.339 GB, free: 4.359 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.3263, allocations: 7.984 kB / 1.339 GB, free: 4.352 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005664/0.3269, allocations: 483 kB / 1.339 GB, free: 3.887 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3269, allocations: 0 / 1.339 GB, free: 3.887 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003233/0.3272, allocations: 71.88 kB / 1.34 GB, free: 3.816 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 (15): * Single equations (assignments): 11 * 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.002266/0.3295, allocations: 1.151 MB / 1.341 GB, free: 2.824 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003954/0.3299, allocations: 151.9 kB / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3299, allocations: 0 / 1.341 GB, free: 2.676 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.33, allocations: 59.91 kB / 1.341 GB, free: 2.617 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005067/0.3305, allocations: 99.86 kB / 1.341 GB, free: 2.527 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005117/0.3357, allocations: 3.994 MB / 1.345 GB, free: 14.44 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.336, allocations: 266.7 kB / 1.345 GB, free: 14.15 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001618/0.3361, allocations: 46.95 kB / 1.345 GB, free: 14.11 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.3364, allocations: 179.4 kB / 1.345 GB, free: 13.93 MB / 1.045 GB Notification: Performance of SimCode: time 1.112e-06/0.3364, allocations: 0 / 1.345 GB, free: 13.93 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/0.3703, allocations: 10.68 MB / 1.356 GB, free: 3.422 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.53, allocations: 6.094 kB / 1.356 GB, free: 3.418 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.141520175966434] Failed to read output from testmodel.py, exit status != 0: 12.757831354974769 12.784228685 12.462453284 Calling exit ...