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.001107/0.001108, allocations: 104 kB / 16.36 MB, free: 6.301 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.001096/0.001096, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.368/1.368, allocations: 205.1 MB / 223.2 MB, free: 12.24 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 1.776/1.776, allocations: 292.3 MB / 0.5496 GB, free: 17.66 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.001455/0.001455, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2451, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.002976/0.2481, allocations: 1.43 MB / 0.7862 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006305/0.2488, allocations: 279.1 kB / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.753e-05/0.2489, allocations: 0 / 0.7864 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.249, allocations: 15.81 kB / 0.7865 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.614e-05/0.2491, allocations: 19.84 kB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.2494, allocations: 87.78 kB / 0.7866 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002842/0.2497, allocations: 228 kB / 0.7868 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.164e-05/0.2498, allocations: 13.12 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.121e-05/0.2499, allocations: 87.75 kB / 0.7869 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.2501, allocations: 103.7 kB / 0.787 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.296e-05/0.2501, allocations: 16 kB / 0.787 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.137e-05/0.2501, allocations: 19.94 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.2503, allocations: 83.78 kB / 0.7871 GB, free: 0.8047 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.2504, allocations: 107.4 kB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.2506, allocations: 259 kB / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2506, allocations: 4 kB / 0.7874 GB, free: 452 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2506, allocations: 4 kB / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2507, allocations: 0 / 0.7874 GB, free: 448 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.4495/0.7002, allocations: 0.6888 MB / 0.7881 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.7003, allocations: 9.406 kB / 0.7881 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.7003, allocations: 27.06 kB / 0.7881 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.7006, allocations: 258.3 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.7007, allocations: 20.58 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.7007, allocations: 20.19 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.7013, allocations: 456.1 kB / 0.7889 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.7013, allocations: 4.031 kB / 0.7889 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.7013, allocations: 16.25 kB / 0.7889 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.7014, allocations: 2.625 kB / 0.7889 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.7017, allocations: 316.5 kB / 0.7892 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005281/0.7022, allocations: 0.5709 MB / 0.7898 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009998/0.7032, allocations: 1.031 MB / 0.7908 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005928/0.7038, allocations: 0.6573 MB / 0.7914 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.7039, allocations: 8.188 kB / 0.7914 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005272/0.7044, allocations: 475.8 kB / 0.7919 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=37): time 2.726e-06/0.7044, allocations: 2.625 kB / 0.7919 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=37): time 0.001341/0.7058, allocations: 1.115 MB / 0.793 GB, free: 48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.7058, allocations: 145 kB / 0.7931 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.706, allocations: 250.5 kB / 0.7933 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.7061, allocations: 36.39 kB / 0.7934 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.7061, allocations: 122.5 kB / 0.7935 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.7062, allocations: 76.92 kB / 0.7936 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.7063, allocations: 116.8 kB / 0.7937 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.855e-05/0.7064, allocations: 336 kB / 0.794 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.7067, allocations: 339.1 kB / 0.7943 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.7071, allocations: 423.8 kB / 0.7947 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008115/0.7079, allocations: 0.7668 MB / 0.7955 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.708, allocations: 1 kB / 0.7955 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001006/0.709, allocations: 0.8312 MB / 0.7963 GB, free: 47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.709, allocations: 11 kB / 0.7963 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.709, allocations: 3.562 kB / 0.7963 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.709, allocations: 4.625 kB / 0.7963 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.7092, allocations: 49.12 kB / 0.7963 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.7092, allocations: 3.875 kB / 0.7963 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/0.7095, allocations: 37.73 kB / 0.7964 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/0.7098, allocations: 271.1 kB / 0.7966 GB, free: 46.97 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.0001895/0.71, allocations: 189 kB / 0.7968 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.71, allocations: 31.69 kB / 0.7968 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/0.7101, allocations: 38.95 kB / 0.7969 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.7101, allocations: 7.688 kB / 0.7969 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.7101, allocations: 0 / 0.7969 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.7101, allocations: 7.469 kB / 0.7969 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.7122, allocations: 1.706 MB / 0.7986 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.7122, allocations: 0.9062 kB / 0.7986 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.262e-05/0.7123, allocations: 25.06 kB / 0.7986 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.7123, allocations: 2.188 kB / 0.7986 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.7123, allocations: 18.77 kB / 0.7986 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.7124, allocations: 5.953 kB / 0.7986 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.7124, allocations: 4 kB / 0.7986 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.7135, allocations: 1.121 MB / 0.7997 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.7136, allocations: 103.8 kB / 0.7998 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.7137, allocations: 13.34 kB / 0.7998 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.7139, allocations: 8.219 kB / 0.7998 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.714, allocations: 51.75 kB / 0.7999 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003696/0.7144, allocations: 282.7 kB / 0.8002 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001632/0.7146, allocations: 176.8 kB / 0.8003 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.172e-06/0.7146, allocations: 0 / 0.8003 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005149/0.7151, allocations: 63.98 kB / 0.8004 GB, free: 45.48 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001546/0.7153, allocations: 134.6 kB / 0.8005 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001133/0.7164, allocations: 0.7467 MB / 0.8012 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7164, allocations: 0 / 0.8012 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005884/0.717, allocations: 392.4 kB / 0.8016 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.7188, allocations: 369.2 kB / 0.802 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.7205, allocations: 0.9995 MB / 0.8029 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.7208, allocations: 0.7587 MB / 0.8037 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.721, allocations: 69.5 kB / 0.8038 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of SimCode: time 8.31e-07/0.721, allocations: 0 / 0.8038 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.01049/0.7315, allocations: 4.493 MB / 0.8081 GB, free: 43.7 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)