Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.Sources.Examples.DayType.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.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001871/0.001871, allocations: 109.7 kB / 16.37 MB, free: 6.262 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.001894/0.001894, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.828/1.828, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.026/2.026, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.002135/0.002135, allocations: 67.89 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3462, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.004281/0.3506, allocations: 1.427 MB / 0.7862 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008237/0.3514, allocations: 275.1 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.529e-05/0.3515, allocations: 0 / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.3518, allocations: 23.75 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.309e-05/0.3519, allocations: 19.84 kB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005869/0.3525, allocations: 87.3 kB / 0.7866 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.3529, allocations: 236 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/0.3531, allocations: 9.109 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.3532, allocations: 87.75 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002656/0.3534, allocations: 103.7 kB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.073e-05/0.3535, allocations: 16 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.3536, allocations: 20 kB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.3537, allocations: 83.78 kB / 0.7871 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.3539, allocations: 107.4 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.3543, allocations: 267 kB / 0.7875 GB, free: 416 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3543, allocations: 0 / 0.7875 GB, free: 416 kB / 0.6544 GB Notification: Performance of FrontEnd: time 3.156e-06/0.3543, allocations: 0 / 0.7875 GB, free: 416 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.3543, allocations: 0 / 0.7875 GB, free: 416 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.6155/0.9698, allocations: 0.6887 MB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.447e-05/0.9699, allocations: 10.34 kB / 0.7881 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.97, allocations: 25.67 kB / 0.7882 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.9704, allocations: 261.9 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.9704, allocations: 19.69 kB / 0.7884 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.9705, allocations: 21.91 kB / 0.7885 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.9711, allocations: 455.1 kB / 0.7889 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.9711, allocations: 192 / 0.7889 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.9711, allocations: 13.59 kB / 0.7889 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.9711, allocations: 5.344 kB / 0.7889 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004028/0.9716, allocations: 321.1 kB / 0.7892 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007249/0.9723, allocations: 0.5699 MB / 0.7898 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.9736, allocations: 1.021 MB / 0.7908 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008143/0.9745, allocations: 0.6616 MB / 0.7914 GB, free: 48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.125e-05/0.9745, allocations: 5.5 kB / 0.7914 GB, free: 48 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006935/0.9752, allocations: 479 kB / 0.7919 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/0.9752, allocations: 0 / 0.7919 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37): time 0.001464/0.9767, allocations: 1.12 MB / 0.793 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.9768, allocations: 137.8 kB / 0.7931 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002359/0.977, allocations: 251.7 kB / 0.7933 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.9771, allocations: 36.98 kB / 0.7934 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.392e-05/0.9772, allocations: 123.3 kB / 0.7935 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.9772, allocations: 81.14 kB / 0.7936 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.9774, allocations: 107.4 kB / 0.7937 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.9775, allocations: 344.2 kB / 0.794 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.9779, allocations: 333.7 kB / 0.7943 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004645/0.9784, allocations: 427.6 kB / 0.7947 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009404/0.9794, allocations: 0.771 MB / 0.7955 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.9794, allocations: 0 / 0.7955 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001239/0.9806, allocations: 0.8222 MB / 0.7963 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.9807, allocations: 13.39 kB / 0.7963 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.9807, allocations: 7.5 kB / 0.7963 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.468e-05/0.9807, allocations: 4.562 kB / 0.7963 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.981, allocations: 46.48 kB / 0.7963 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.981, allocations: 5.75 kB / 0.7964 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.9813, allocations: 29.44 kB / 0.7964 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003885/0.9817, allocations: 274 kB / 0.7966 GB, free: 46.85 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 (dayTypMonThr.skipIDayIncrement,$PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.iDay,$PRE.dayTypMonThr.iDay,dayTypMonThr.y[3],dayTypMonThr.y[2],dayTypMonThr.y[1],dayTypTwoWeeks.skipIDayIncrement,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.iDay,$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.y[14],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[1],dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],dayTypMon.skipIDayIncrement,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.iDay,$PRE.dayTypMon.iDay,dayTypMon.y[2],dayTypMon.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0002409/0.9819, allocations: 191.1 kB / 0.7968 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.982, allocations: 26.84 kB / 0.7969 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.9821, allocations: 44.61 kB / 0.7969 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.9821, allocations: 4.234 kB / 0.7969 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.9821, allocations: 1.062 kB / 0.7969 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.9822, allocations: 107.1 kB / 0.797 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.9822, allocations: 11.7 kB / 0.797 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.9823, allocations: 5.156 kB / 0.797 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.9825, allocations: 51.55 kB / 0.7971 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001308/0.9838, allocations: 1.135 MB / 0.7982 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001694/0.9855, allocations: 1.206 MB / 0.7994 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007841/0.9863, allocations: 388.4 kB / 0.7997 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002397/0.9865, allocations: 173.8 kB / 0.7999 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of Backend: time 5.21e-07/0.9865, allocations: 1.781 kB / 0.7999 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001575/0.9881, allocations: 0.4937 MB / 0.8004 GB, free: 45.41 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002186/0.9903, allocations: 1.049 MB / 0.8014 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.02149/1.012, allocations: 6.917 MB / 0.8082 GB, free: 44.4 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_8_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_8_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)