Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.935/1.935, allocations: 292.3 MB / 308.1 MB, free: 4.285 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.001478/0.001478, allocations: 185.5 kB / 376.9 MB, free: 1.801 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.597/1.597, allocations: 205 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 95.7 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3123, allocations: 114.6 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature): time 0.005495/0.3178, allocations: 3.194 MB / 0.9853 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003341/0.3212, allocations: 1.729 MB / 0.987 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003028/0.3215, allocations: 11.94 kB / 0.987 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.3227, allocations: 275.5 kB / 0.9873 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0004379/0.3231, allocations: 167.2 kB / 0.9875 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.324, allocations: 331.6 kB / 0.9878 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0008237/0.3249, allocations: 0.7846 MB / 0.9885 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000646/0.3255, allocations: 0.5099 MB / 0.989 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000282/0.3258, allocations: 262.9 kB / 0.9893 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.3262, allocations: 302.4 kB / 0.9896 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.013e-05/0.3262, allocations: 40 kB / 0.9896 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002483/0.3265, allocations: 87.95 kB / 0.9897 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.3267, allocations: 183.3 kB / 0.9899 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003317/0.3271, allocations: 329.8 kB / 0.9902 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0009541/0.328, allocations: 0.8057 MB / 0.991 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.3281, allocations: 3.984 kB / 0.991 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3281, allocations: 0 / 0.991 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.633e-05/0.3281, allocations: 0 / 0.991 GB, free: 1.355 MB / 0.7136 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.001984/0.3301, allocations: 1.098 MB / 0.9921 GB, free: 208 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.3301, allocations: 8.031 kB / 0.9921 GB, free: 200 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.3303, allocations: 95.81 kB / 0.9922 GB, free: 104 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008757/0.3312, allocations: 0.5163 MB / 0.9927 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.637e-05/0.3313, allocations: 87.27 kB / 0.9927 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.3314, allocations: 60 kB / 0.9928 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.3324, allocations: 0.6638 MB / 0.9935 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.3324, allocations: 0 / 0.9935 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.963e-05/0.3325, allocations: 28 kB / 0.9935 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.3325, allocations: 12 kB / 0.9935 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007194/0.3332, allocations: 411.5 kB / 0.9939 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/0.3367, allocations: 2.701 MB / 0.9965 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.3374, allocations: 274.6 kB / 0.9968 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.3376, allocations: 140.8 kB / 0.9969 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-05/0.3377, allocations: 7.938 kB / 0.9969 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004455/0.3381, allocations: 195 kB / 0.9971 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=38): time 3.256e-06/0.3382, allocations: 0 / 0.9971 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38): time 0.0009751/0.3391, allocations: 420.2 kB / 0.9975 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.3393, allocations: 92.86 kB / 0.9976 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008716/0.3401, allocations: 0.66 MB / 0.9982 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.3402, allocations: 49.64 kB / 0.9983 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.3406, allocations: 392.2 kB / 0.9987 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.3407, allocations: 106.7 kB / 0.9988 GB, free: 9.035 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.341, allocations: 154.2 kB / 0.9989 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002458/0.3412, allocations: 378.8 kB / 0.9993 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.3416, allocations: 141.2 kB / 0.9994 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005252/0.3421, allocations: 365 kB / 0.9998 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007513/0.3429, allocations: 418.8 kB / 1 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.3429, allocations: 0 / 1 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00091/0.3438, allocations: 0.5468 MB / 1.001 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.3438, allocations: 8 kB / 1.001 GB, free: 6.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.3438, allocations: 4.781 kB / 1.001 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.3439, allocations: 8 kB / 1.001 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.3441, allocations: 83.77 kB / 1.001 GB, free: 6.758 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.862e-05/0.3442, allocations: 15.94 kB / 1.001 GB, free: 6.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.3444, allocations: 75.2 kB / 1.001 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/0.3445, allocations: 24 kB / 1.001 GB, free: 6.645 MB / 0.7292 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,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,transition5.condition,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.enableFire,$PRE.warUpCtr.pre.u,nor.oldActive,$PRE.nor.oldActive,nor.newActive,$PRE.nor.newActive,nor.localActive,$PRE.nor.localActive,nor.active,transition4.enableFire,stateGraphRoot.activeSteps,off.oldActive,$PRE.off.oldActive,off.newActive,$PRE.off.newActive,off.outPort[2].available,off.inPort[2].occupied,off.localActive,$PRE.off.localActive,off.active,warUp.active,warUp.oldActive,$PRE.warUp.oldActive,warUp.newActive,$PRE.warUp.newActive,warUp.outPort[2].available,warUp.inPort[2].occupied,warUp.localActive,$PRE.warUp.localActive,transition3.enableFire,transition2.enableFire,transition2.condition,transition1.enableFire,actMod,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,warUpCtr.pre.u,warUpCtr.hysPow.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysTem.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003688/0.3449, allocations: 266.9 kB / 1.001 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/0.345, allocations: 67.16 kB / 1.001 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007471/0.3457, allocations: 391.9 kB / 1.002 GB, free: 5.914 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3457, allocations: 7.938 kB / 1.002 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3458, allocations: 4 kB / 1.002 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.3458, allocations: 3.938 kB / 1.002 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.3472, allocations: 1.003 MB / 1.003 GB, free: 4.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3473, allocations: 4 kB / 1.003 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.3474, allocations: 23.92 kB / 1.003 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.3474, allocations: 11.88 kB / 1.003 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.3474, allocations: 11.98 kB / 1.003 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.3474, allocations: 4 kB / 1.003 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3474, allocations: 0 / 1.003 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.3488, allocations: 1.246 MB / 1.004 GB, free: 3.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.3489, allocations: 144.1 kB / 1.004 GB, free: 3.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.668e-05/0.349, allocations: 8 kB / 1.004 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.3492, allocations: 15.98 kB / 1.004 GB, free: 3.297 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.3493, allocations: 43.94 kB / 1.004 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.3494, allocations: 19.98 kB / 1.004 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000488/0.3499, allocations: 427 kB / 1.004 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3499, allocations: 0 / 1.004 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000635/0.3505, allocations: 139.6 kB / 1.005 GB, free: 2.684 MB / 0.7292 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 (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.001046/0.3516, allocations: 469.7 kB / 1.005 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007297/0.3523, allocations: 393.1 kB / 1.005 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3523, allocations: 0 / 1.005 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.3526, allocations: 159.8 kB / 1.006 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006045/0.3532, allocations: 90.94 kB / 1.006 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.3554, allocations: 1.628 MB / 1.007 GB, free: 32 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.356, allocations: 0.9497 MB / 1.008 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002898/0.3563, allocations: 84.67 kB / 1.008 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.3564, allocations: 55.41 kB / 1.008 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of SimCode: time 7.11e-07/0.3564, allocations: 4 kB / 1.008 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.01268/0.3691, allocations: 5.687 MB / 1.014 GB, free: 9.258 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1)