Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.WarmUpTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature",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.642/1.642, allocations: 288.2 MB / 303.2 MB, free: 8.168 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.001033/0.001033, allocations: 175.9 kB / 371.8 MB, free: 10.28 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.789/1.789, allocations: 205.4 MB / 0.6305 GB, free: 9.891 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.0008708/0.0008705, allocations: 90.81 kB / 0.7439 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005305/0.0005307, allocations: 12.06 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2595, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.003691/0.2633, allocations: 2.667 MB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002992/0.2663, allocations: 1.604 MB / 0.9836 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005275/0.2669, allocations: 19.88 kB / 0.9837 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.2679, allocations: 264 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005591/0.2685, allocations: 171.4 kB / 0.9841 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009844/0.2695, allocations: 305.9 kB / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008103/0.2703, allocations: 0.5004 MB / 0.9849 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007239/0.271, allocations: 434.2 kB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.2714, allocations: 231 kB / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.2717, allocations: 242.7 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.758e-05/0.2718, allocations: 20 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002082/0.2721, allocations: 71.83 kB / 0.9858 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.2722, allocations: 151.4 kB / 0.986 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.2724, allocations: 141.3 kB / 0.9861 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006244/0.273, allocations: 0.6157 MB / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.273, allocations: 0 / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.273, allocations: 0 / 0.9867 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.273, allocations: 0 / 0.9867 GB, free: 20.16 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.00159/0.2746, allocations: 0.958 MB / 0.9876 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.2747, allocations: 15.95 kB / 0.9876 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.2748, allocations: 98.52 kB / 0.9877 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/0.275, allocations: 98.83 kB / 0.9878 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009023/0.2759, allocations: 0.4997 MB / 0.9883 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.004e-05/0.276, allocations: 75.02 kB / 0.9884 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.82e-05/0.2761, allocations: 64 kB / 0.9885 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.2773, allocations: 0.6481 MB / 0.9891 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.2773, allocations: 0 / 0.9891 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.364e-05/0.2774, allocations: 31.94 kB / 0.9891 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.2774, allocations: 12 kB / 0.9891 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008564/0.2783, allocations: 411.5 kB / 0.9895 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.2809, allocations: 2.697 MB / 0.9922 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006593/0.2816, allocations: 263.1 kB / 0.9924 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.2817, allocations: 8 kB / 0.9924 GB, free: 14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/0.2821, allocations: 195.4 kB / 0.9926 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=38): time 2.615e-06/0.2821, allocations: 3.938 kB / 0.9926 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=38): time 0.0009624/0.2831, allocations: 420.1 kB / 0.993 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.2831, allocations: 85.11 kB / 0.9931 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.2839, allocations: 0.6638 MB / 0.9937 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.284, allocations: 49.7 kB / 0.9938 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002666/0.2842, allocations: 392.1 kB / 0.9942 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.519e-05/0.2843, allocations: 98.81 kB / 0.9942 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.2844, allocations: 19.94 kB / 0.9943 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2845, allocations: 382.8 kB / 0.9946 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.2848, allocations: 133.2 kB / 0.9948 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004352/0.2853, allocations: 361 kB / 0.9951 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.2856, allocations: 151.9 kB / 0.9952 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.2857, allocations: 4 kB / 0.9953 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00102/0.2867, allocations: 0.5429 MB / 0.9958 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.2867, allocations: 8 kB / 0.9958 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.2867, allocations: 4 kB / 0.9958 GB, free: 10.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.2868, allocations: 12 kB / 0.9958 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003189/0.2871, allocations: 76.52 kB / 0.9959 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.2871, allocations: 15.94 kB / 0.9959 GB, free: 10.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.2875, allocations: 63.38 kB / 0.996 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/0.2876, allocations: 32 kB / 0.996 GB, free: 10.17 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.condition,transition2.enableFire,transition3.enableFire,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.active,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,$PRE.warUpCtr.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0003473/0.2879, allocations: 262.9 kB / 0.9962 GB, free: 9.902 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.214e-05/0.288, allocations: 67.16 kB / 0.9963 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007797/0.2888, allocations: 400 kB / 0.9967 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.2888, allocations: 4 kB / 0.9967 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.2889, allocations: 3.984 kB / 0.9967 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2889, allocations: 0 / 0.9967 GB, free: 9.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.2904, allocations: 0.9983 MB / 0.9977 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2904, allocations: 4 kB / 0.9977 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.2906, allocations: 27.92 kB / 0.9977 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2906, allocations: 4 kB / 0.9977 GB, free: 8.336 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.2906, allocations: 11.98 kB / 0.9977 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2906, allocations: 3.953 kB / 0.9977 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2906, allocations: 0 / 0.9977 GB, free: 8.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006557/0.2913, allocations: 455.2 kB / 0.9981 GB, free: 7.859 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.2914, allocations: 140.1 kB / 0.9983 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.904e-05/0.2915, allocations: 16 kB / 0.9983 GB, free: 7.688 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.2918, allocations: 15.98 kB / 0.9983 GB, free: 7.672 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/0.2919, allocations: 59.86 kB / 0.9984 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.292, allocations: 15.94 kB / 0.9984 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005113/0.2925, allocations: 431 kB / 0.9988 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2925, allocations: 0 / 0.9988 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006901/0.2932, allocations: 139.5 kB / 0.9989 GB, free: 7.043 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: 35 (nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition1,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.condition,transition2.enableFire,transition3.enableFire,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,warUp.active,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 8 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001944/0.2952, allocations: 1.329 MB / 1 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000805/0.296, allocations: 396.3 kB / 1.001 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.296, allocations: 0 / 1.001 GB, free: 5.457 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.2963, allocations: 159.8 kB / 1.001 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.2969, allocations: 90.36 kB / 1.001 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006924/0.3038, allocations: 7.58 MB / 1.008 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007113/0.3046, allocations: 0.9632 MB / 1.009 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000459/0.305, allocations: 88.66 kB / 1.009 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004466/0.3055, allocations: 267.3 kB / 1.01 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.3055, allocations: 0 / 1.01 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03781/0.3433, allocations: 12.15 MB / 1.021 GB, free: 116 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003247/0.3437, allocations: 241.6 kB / 1.022 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/2.75, allocations: 0 / 1.022 GB, free: 15.88 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)