Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008884/0.0008883, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00779/0.00779, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.835/1.835, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005866/0.0005865, allocations: 17.05 kB / 0.6743 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2814, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003142/0.2845, allocations: 2.115 MB / 0.7899 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002462/0.287, allocations: 1.38 MB / 0.7913 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.2872, allocations: 7.938 kB / 0.7913 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006833/0.2879, allocations: 231.5 kB / 0.7915 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.2883, allocations: 139.4 kB / 0.7917 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.2888, allocations: 147.2 kB / 0.7918 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.2892, allocations: 322.9 kB / 0.7921 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.2894, allocations: 88.7 kB / 0.7922 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.2896, allocations: 119.3 kB / 0.7923 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.2898, allocations: 139.3 kB / 0.7924 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.2898, allocations: 7.938 kB / 0.7924 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.29, allocations: 47.97 kB / 0.7925 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.2901, allocations: 107.6 kB / 0.7926 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.2903, allocations: 200.2 kB / 0.7928 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.2908, allocations: 478 kB / 0.7932 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2908, allocations: 0 / 0.7932 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2908, allocations: 0 / 0.7932 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.2908, allocations: 0 / 0.7932 GB, free: 6.051 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001126/0.292, allocations: 0.731 MB / 0.794 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.292, allocations: 16.02 kB / 0.794 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.228e-05/0.2921, allocations: 56.19 kB / 0.794 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/0.2926, allocations: 419.9 kB / 0.7944 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.2927, allocations: 16.36 kB / 0.7944 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.2927, allocations: 19.94 kB / 0.7945 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.293, allocations: 133.5 kB / 0.7946 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.293, allocations: 0 / 0.7946 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.293, allocations: 11.94 kB / 0.7946 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.2931, allocations: 8 kB / 0.7946 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.2932, allocations: 75.97 kB / 0.7947 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.2943, allocations: 0.6562 MB / 0.7953 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004222/0.2947, allocations: 138.6 kB / 0.7954 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.2948, allocations: 48.84 kB / 0.7955 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.2949, allocations: 0 / 0.7955 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.2951, allocations: 99.36 kB / 0.7956 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.2951, allocations: 4 kB / 0.7956 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12): time 0.00047/0.2956, allocations: 216.8 kB / 0.7958 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.2957, allocations: 55.41 kB / 0.7959 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007393/0.2964, allocations: 0.6476 MB / 0.7965 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.2964, allocations: 33.69 kB / 0.7965 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.2967, allocations: 256.4 kB / 0.7968 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.2967, allocations: 35.55 kB / 0.7968 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.631e-05/0.2968, allocations: 37.64 kB / 0.7968 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2969, allocations: 370.8 kB / 0.7972 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.2971, allocations: 75.97 kB / 0.7973 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.2973, allocations: 118.2 kB / 0.7974 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.2975, allocations: 129.6 kB / 0.7975 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2975, allocations: 0 / 0.7975 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003908/0.2979, allocations: 271.2 kB / 0.7978 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.2979, allocations: 7.984 kB / 0.7978 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2979, allocations: 64 / 0.7978 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2979, allocations: 7.938 kB / 0.7978 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.2981, allocations: 43.98 kB / 0.7978 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2981, allocations: 0 / 0.7978 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.2983, allocations: 31.97 kB / 0.7978 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.2983, allocations: 4 kB / 0.7978 GB, free: 1.086 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002085/0.2986, allocations: 213.6 kB / 0.798 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.2986, allocations: 55.33 kB / 0.7981 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.193e-05/0.2987, allocations: 56.66 kB / 0.7982 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2987, allocations: 4 kB / 0.7982 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2987, allocations: 0 / 0.7982 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2987, allocations: 0 / 0.7982 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.2991, allocations: 381.2 kB / 0.7985 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2991, allocations: 4 kB / 0.7985 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.197e-05/0.2992, allocations: 4 kB / 0.7985 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.2992, allocations: 4 kB / 0.7985 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.2992, allocations: 7.984 kB / 0.7985 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2992, allocations: 0 / 0.7985 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2992, allocations: 3.938 kB / 0.7985 GB, free: 316 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004058/0.2996, allocations: 260.3 kB / 0.7988 GB, free: 36 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.2998, allocations: 128.5 kB / 0.7989 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.235e-05/0.2998, allocations: 0 / 0.7989 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.3, allocations: 24.05 kB / 0.7989 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.3, allocations: 23.97 kB / 0.799 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3, allocations: 7.984 kB / 0.799 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004514/0.3005, allocations: 426.8 kB / 0.7994 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3005, allocations: 0 / 0.7994 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002802/0.3008, allocations: 63.84 kB / 0.7994 GB, free: 15.36 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.0009482/0.3018, allocations: 431.3 kB / 0.7998 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.3021, allocations: 151.8 kB / 0.8 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3021, allocations: 4 kB / 0.8 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.3022, allocations: 51.97 kB / 0.8 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.3026, allocations: 74.89 kB / 0.8001 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.304, allocations: 0.9751 MB / 0.8011 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.3045, allocations: 0.8536 MB / 0.8019 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.3046, allocations: 50.25 kB / 0.802 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.394e-05/0.3047, allocations: 23.44 kB / 0.802 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.3047, allocations: 0 / 0.802 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of Templates: time 0.008414/0.3131, allocations: 3.706 MB / 0.8056 GB, free: 9.176 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) Environment - environmentSimulation: