Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.841/1.841, allocations: 288.2 MB / 303.2 MB, free: 8.102 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001765/0.001765, allocations: 183.2 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.4 MB / 0.6305 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009195/0.000919, allocations: 85.66 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004732, allocations: 17.06 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2308, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.002931/0.2338, allocations: 2.585 MB / 0.982 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002713/0.2366, allocations: 1.596 MB / 0.9836 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004561/0.2371, allocations: 11.94 kB / 0.9836 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.2382, allocations: 388.4 kB / 0.9839 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005161/0.2387, allocations: 223.4 kB / 0.9841 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000948/0.2397, allocations: 369 kB / 0.9845 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005085/0.2402, allocations: 0.4993 MB / 0.985 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004263/0.2406, allocations: 395 kB / 0.9854 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.2408, allocations: 246.9 kB / 0.9856 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.2411, allocations: 258.8 kB / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.648e-05/0.2411, allocations: 20 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.2413, allocations: 67.91 kB / 0.9859 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.2415, allocations: 171.4 kB / 0.9861 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.795e-05/0.2416, allocations: 141.3 kB / 0.9862 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004643/0.242, allocations: 0.5884 MB / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.2421, allocations: 0 / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2421, allocations: 0 / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.2421, allocations: 0 / 0.9868 GB, free: 20.09 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00128/0.2434, allocations: 1 MB / 0.9878 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.2434, allocations: 12.02 kB / 0.9878 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.569e-05/0.2435, allocations: 86.52 kB / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.2437, allocations: 94.83 kB / 0.988 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006393/0.2443, allocations: 0.4963 MB / 0.9885 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.517e-05/0.2444, allocations: 74.69 kB / 0.9885 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/0.2445, allocations: 55.98 kB / 0.9886 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007296/0.2452, allocations: 0.5307 MB / 0.9891 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.2452, allocations: 3.938 kB / 0.9891 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.2453, allocations: 20 kB / 0.9891 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.2453, allocations: 16 kB / 0.9891 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/0.2458, allocations: 339.6 kB / 0.9895 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.2475, allocations: 2.067 MB / 0.9915 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.248, allocations: 287.9 kB / 0.9917 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.248, allocations: 4 kB / 0.9918 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003389/0.2484, allocations: 207.1 kB / 0.992 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=41): time 2.956e-06/0.2484, allocations: 0 / 0.992 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.0007625/0.2492, allocations: 464.7 kB / 0.9924 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.2493, allocations: 114.8 kB / 0.9925 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006452/0.2499, allocations: 0.7462 MB / 0.9932 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.25, allocations: 41.7 kB / 0.9933 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.2502, allocations: 380.6 kB / 0.9936 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-05/0.2503, allocations: 106.7 kB / 0.9937 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.2503, allocations: 12 kB / 0.9937 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.2504, allocations: 333.9 kB / 0.9941 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.2506, allocations: 129.2 kB / 0.9942 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.2509, allocations: 314.5 kB / 0.9945 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.2512, allocations: 148.7 kB / 0.9946 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2512, allocations: 0 / 0.9946 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006714/0.2519, allocations: 0.4992 MB / 0.9951 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.2519, allocations: 8 kB / 0.9951 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2519, allocations: 4 kB / 0.9951 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.2519, allocations: 8 kB / 0.9951 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002432/0.2522, allocations: 79.77 kB / 0.9952 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.2522, allocations: 11.94 kB / 0.9952 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.2525, allocations: 55.52 kB / 0.9953 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/0.2525, allocations: 24 kB / 0.9953 GB, free: 10.97 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 52 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition3,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,pumOn.active,$PRE.pumOn.localActive,pumOn.localActive,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition3.localCondition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003156/0.2528, allocations: 286.8 kB / 0.9956 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.92e-05/0.2529, allocations: 71.06 kB / 0.9956 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006286/0.2535, allocations: 419.9 kB / 0.996 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2536, allocations: 4 kB / 0.996 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2536, allocations: 0 / 0.996 GB, free: 10.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2536, allocations: 4 kB / 0.9961 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.2548, allocations: 1.063 MB / 0.9971 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2548, allocations: 0 / 0.9971 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001024/0.2549, allocations: 27.92 kB / 0.9971 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.2549, allocations: 7.938 kB / 0.9971 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.255, allocations: 11.98 kB / 0.9971 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.255, allocations: 0 / 0.9971 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.255, allocations: 4 kB / 0.9971 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00053/0.2555, allocations: 493.7 kB / 0.9976 GB, free: 8.512 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.2556, allocations: 144.2 kB / 0.9977 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/0.2557, allocations: 15.98 kB / 0.9978 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.2559, allocations: 12 kB / 0.9978 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.256, allocations: 51.92 kB / 0.9978 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.2561, allocations: 19.98 kB / 0.9978 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004798/0.2566, allocations: 0.4912 MB / 0.9983 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2566, allocations: 0 / 0.9983 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005137/0.2571, allocations: 143.5 kB / 0.9985 GB, free: 7.629 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 36 (transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.active,pumOn.newActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001692/0.2588, allocations: 1.392 MB / 0.9998 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006633/0.2595, allocations: 363.1 kB / 1 GB, free: 6.004 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.2595, allocations: 4 kB / 1 GB, free: 6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.2598, allocations: 168.2 kB / 1 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.2603, allocations: 114.9 kB / 1 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005483/0.2658, allocations: 6.725 MB / 1.007 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005237/0.2664, allocations: 0.9656 MB / 1.008 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003257/0.2667, allocations: 96.75 kB / 1.008 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/0.2671, allocations: 283.3 kB / 1.008 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/0.2671, allocations: 0 / 1.008 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.2968, allocations: 13.2 MB / 1.021 GB, free: 416 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.297, allocations: 244 kB / 1.021 GB, free: 156 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/2.824, allocations: 0 / 1.021 GB, free: 156 kB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.pipe 2>&1)