Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.143/2.143, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00143/0.001429, allocations: 183.8 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.453/2.453, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009762/0.000976, allocations: 96.75 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006789/0.0006795, allocations: 10.94 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2215, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001693/0.2233, allocations: 1.135 MB / 0.9006 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007117/0.224, allocations: 271.2 kB / 0.9008 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.2241, allocations: 4 kB / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.2242, allocations: 3.938 kB / 0.9009 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.53e-05/0.2243, allocations: 23.84 kB / 0.9009 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003727/0.2247, allocations: 73.17 kB / 0.9009 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000273/0.225, allocations: 200 kB / 0.9011 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.806e-05/0.2251, allocations: 13.12 kB / 0.9012 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.666e-05/0.2252, allocations: 79.81 kB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.2254, allocations: 103.7 kB / 0.9013 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.2254, allocations: 12 kB / 0.9013 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.656e-05/0.2255, allocations: 11.94 kB / 0.9014 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.457e-05/0.2256, allocations: 75.78 kB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.918e-05/0.2257, allocations: 57.58 kB / 0.9015 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.2259, allocations: 179.6 kB / 0.9016 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2259, allocations: 0 / 0.9016 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2259, allocations: 4 kB / 0.9017 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2259, allocations: 0 / 0.9017 GB, free: 63.29 MB / 0.6042 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.001199/0.2272, allocations: 0.6202 MB / 0.9023 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2272, allocations: 8.031 kB / 0.9023 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/0.2273, allocations: 24.66 kB / 0.9023 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.2276, allocations: 262.9 kB / 0.9025 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.2277, allocations: 16.66 kB / 0.9026 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/0.2277, allocations: 20.38 kB / 0.9026 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007202/0.2285, allocations: 459.3 kB / 0.903 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.2285, allocations: 192 / 0.903 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.2285, allocations: 11.92 kB / 0.903 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.2286, allocations: 4 kB / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005322/0.2291, allocations: 323.8 kB / 0.9033 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007162/0.2298, allocations: 0.5701 MB / 0.9039 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.2314, allocations: 1.023 MB / 0.9049 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000995/0.2324, allocations: 0.6554 MB / 0.9055 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.2325, allocations: 11.94 kB / 0.9055 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007594/0.2333, allocations: 470.6 kB / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=37): time 3.176e-06/0.2333, allocations: 4 kB / 0.906 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37): time 0.002001/0.2353, allocations: 1.115 MB / 0.9071 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.2354, allocations: 136.5 kB / 0.9072 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.2356, allocations: 256.9 kB / 0.9075 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.2357, allocations: 33.7 kB / 0.9075 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/0.2358, allocations: 125.1 kB / 0.9076 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.963e-05/0.2359, allocations: 87 kB / 0.9077 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.2359, allocations: 4 kB / 0.9077 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/0.236, allocations: 346.8 kB / 0.908 GB, free: 56.42 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/0.2366, allocations: 328.7 kB / 0.9083 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005812/0.2371, allocations: 422.5 kB / 0.9087 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/0.2378, allocations: 356.8 kB / 0.9091 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2378, allocations: 0 / 0.9091 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001387/0.2392, allocations: 0.8313 MB / 0.9099 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.2392, allocations: 12.03 kB / 0.9099 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2393, allocations: 3.938 kB / 0.9099 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.2393, allocations: 8.062 kB / 0.9099 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.2395, allocations: 47.83 kB / 0.91 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.2396, allocations: 4 kB / 0.91 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/0.24, allocations: 35.62 kB / 0.91 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000381/0.2404, allocations: 275.4 kB / 0.9103 GB, free: 54.09 MB / 0.6042 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 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,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],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.2406, allocations: 178.8 kB / 0.9104 GB, free: 53.91 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/0.2407, allocations: 27.7 kB / 0.9105 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.138e-05/0.2408, allocations: 42.12 kB / 0.9105 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.2408, allocations: 3.984 kB / 0.9105 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.2408, allocations: 4 kB / 0.9105 GB, free: 53.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.2409, allocations: 108.7 kB / 0.9106 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.956e-05/0.241, allocations: 12 kB / 0.9106 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.2413, allocations: 11.98 kB / 0.9106 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.2414, allocations: 47.94 kB / 0.9107 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0016/0.243, allocations: 1.131 MB / 0.9118 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001402/0.2444, allocations: 1.202 MB / 0.913 GB, free: 51.27 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006444/0.2451, allocations: 381.8 kB / 0.9133 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001685/0.2453, allocations: 176.5 kB / 0.9135 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of Backend: time 8.91e-07/0.2453, allocations: 0 / 0.9135 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.2467, allocations: 0.4908 MB / 0.914 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002065/0.2488, allocations: 1.073 MB / 0.915 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of Templates: time 0.01424/0.2631, allocations: 6.391 MB / 0.9213 GB, free: 42.77 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)