Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004572/0.004572, allocations: 103.4 kB / 15.74 MB, free: 6.484 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.00104/0.00104, allocations: 196.3 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002318/0.002318, allocations: 274.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9627/0.9627, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 95.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.156, allocations: 86.97 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002571/0.1586, allocations: 1.491 MB / 0.7678 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.16, allocations: 1.106 MB / 0.7689 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.1601, allocations: 0 / 0.7689 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001716/0.1603, allocations: 15.86 kB / 0.7689 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.1605, allocations: 43.78 kB / 0.769 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.1607, allocations: 69.66 kB / 0.769 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.1609, allocations: 143.6 kB / 0.7692 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1611, allocations: 65.05 kB / 0.7692 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1612, allocations: 83.69 kB / 0.7693 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.1614, allocations: 63.69 kB / 0.7694 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.1614, allocations: 12 kB / 0.7694 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.401e-05/0.1615, allocations: 20 kB / 0.7694 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.753e-05/0.1616, allocations: 47.88 kB / 0.7694 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.985e-05/0.1617, allocations: 75.58 kB / 0.7695 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.1619, allocations: 191.4 kB / 0.7697 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.1619, allocations: 3.984 kB / 0.7697 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1619, allocations: 4 kB / 0.7697 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.162, allocations: 0 / 0.7697 GB, free: 5.008 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006535/0.1626, allocations: 0.4946 MB / 0.7702 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.1626, allocations: 8.031 kB / 0.7702 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.615e-05/0.1627, allocations: 16.75 kB / 0.7702 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.163, allocations: 256.3 kB / 0.7705 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.1631, allocations: 123.4 kB / 0.7706 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.1632, allocations: 8.375 kB / 0.7706 GB, free: 4 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.1635, allocations: 163.6 kB / 0.7707 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1635, allocations: 3.984 kB / 0.7707 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.1636, allocations: 4 kB / 0.7707 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.1636, allocations: 11.98 kB / 0.7708 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.293e-05/0.1637, allocations: 39.97 kB / 0.7708 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009911/0.1647, allocations: 460.4 kB / 0.7712 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.705e-05/0.1648, allocations: 30.58 kB / 0.7713 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.1648, allocations: 32.78 kB / 0.7713 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.1649, allocations: 4 kB / 0.7713 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.1649, allocations: 38.55 kB / 0.7713 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 2.655e-06/0.1649, allocations: 0 / 0.7713 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0002623/0.1652, allocations: 109.5 kB / 0.7714 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.1652, allocations: 55.41 kB / 0.7715 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1654, allocations: 212.4 kB / 0.7717 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.1654, allocations: 29.7 kB / 0.7717 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.1655, allocations: 136.1 kB / 0.7718 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.1655, allocations: 23.62 kB / 0.7719 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.1656, allocations: 29.7 kB / 0.7719 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.1657, allocations: 326.8 kB / 0.7722 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.1658, allocations: 27.97 kB / 0.7722 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.237e-05/0.1659, allocations: 98.3 kB / 0.7723 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.166, allocations: 150.1 kB / 0.7725 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.166, allocations: 0 / 0.7725 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002378/0.1663, allocations: 153.2 kB / 0.7726 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1663, allocations: 8 kB / 0.7726 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1663, allocations: 4 kB / 0.7726 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1663, allocations: 4 kB / 0.7726 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1664, allocations: 23.92 kB / 0.7727 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1665, allocations: 7.938 kB / 0.7727 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.015e-05/0.1665, allocations: 7.938 kB / 0.7727 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.1665, allocations: 12.38 kB / 0.7727 GB, free: 1.629 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.000113/0.1667, allocations: 145.8 kB / 0.7728 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.1667, allocations: 15.81 kB / 0.7728 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.1669, allocations: 115.1 kB / 0.773 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.1669, allocations: 11.98 kB / 0.773 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.167, allocations: 3.938 kB / 0.773 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.167, allocations: 0 / 0.773 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.1672, allocations: 233.5 kB / 0.7732 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1672, allocations: 3.984 kB / 0.7732 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/0.1673, allocations: 15.94 kB / 0.7732 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1673, allocations: 4 kB / 0.7732 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.1673, allocations: 0 / 0.7732 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1673, allocations: 0 / 0.7732 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1673, allocations: 7.938 kB / 0.7732 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.1675, allocations: 183.3 kB / 0.7734 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.1675, allocations: 92.91 kB / 0.7735 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.1676, allocations: 0 / 0.7735 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.1678, allocations: 19.98 kB / 0.7735 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.925e-05/0.1678, allocations: 15.92 kB / 0.7735 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.1679, allocations: 11.92 kB / 0.7735 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001266/0.168, allocations: 165.5 kB / 0.7737 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.168, allocations: 0 / 0.7737 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002966/0.1683, allocations: 27.94 kB / 0.7737 GB, free: 488 kB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0002126/0.1685, allocations: 131.1 kB / 0.7738 GB, free: 352 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001579/0.1687, allocations: 71.83 kB / 0.7739 GB, free: 280 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1687, allocations: 0.75 kB / 0.7739 GB, free: 280 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.129e-05/0.1687, allocations: 23.98 kB / 0.7739 GB, free: 256 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.169, allocations: 26.2 kB / 0.774 GB, free: 232 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3104/0.4794, allocations: 278.2 kB / 0.7742 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.4797, allocations: 0.7313 MB / 0.7749 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001926/0.4799, allocations: 54.38 kB / 0.775 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.4799, allocations: 18.05 kB / 0.775 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/0.4799, allocations: 0 / 0.775 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of Templates: time 0.00587/0.4858, allocations: 2.386 MB / 0.7773 GB, free: 14.09 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)