Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.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.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20200,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001066/0.001066, allocations: 192 kB / 16.25 MB, free: 6.629 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.308/1.308, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 290.5 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9412/0.9412, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 90.58 kB / 0.5947 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1469, allocations: 86.99 MB / 0.6796 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.00245/0.1494, allocations: 1.412 MB / 0.681 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001302/0.1496, allocations: 31.89 kB / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.1496, allocations: 0 / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.1498, allocations: 19.88 kB / 0.681 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.477e-05/0.1499, allocations: 4.609 kB / 0.6811 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.928e-06/0.1499, allocations: 3.938 kB / 0.6811 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.761e-05/0.15, allocations: 16.58 kB / 0.6811 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.15, allocations: 6.531 kB / 0.6811 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.643e-05/0.15, allocations: 0 / 0.6811 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.1501, allocations: 15.86 kB / 0.6811 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1501, allocations: 4 kB / 0.6811 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-05/0.1502, allocations: 8 kB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.673e-05/0.1502, allocations: 7.938 kB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.1502, allocations: 7.922 kB / 0.6811 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.347e-05/0.1503, allocations: 25.92 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1503, allocations: 4 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1503, allocations: 0 / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1504, allocations: 0 / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003055/0.1507, allocations: 331.7 kB / 0.6815 GB, free: 15.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.1507, allocations: 8.75 kB / 0.6815 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.1507, allocations: 4.922 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.1509, allocations: 173.2 kB / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-06/0.1509, allocations: 384 / 0.6816 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.1509, allocations: 5 kB / 0.6816 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.373e-05/0.151, allocations: 31.59 kB / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.151, allocations: 192 / 0.6817 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.151, allocations: 7.938 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.151, allocations: 4.656 kB / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.57e-05/0.1511, allocations: 0 / 0.6817 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001327/0.1512, allocations: 161.7 kB / 0.6818 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.117e-05/0.1512, allocations: 22.61 kB / 0.6819 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.386e-05/0.1512, allocations: 4.859 kB / 0.6819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.1513, allocations: 0 / 0.6819 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.1513, allocations: 38.56 kB / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.1513, allocations: 0 / 0.6819 GB, free: 14.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001081/0.1514, allocations: 45.56 kB / 0.682 GB, free: 14.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.1514, allocations: 55.41 kB / 0.682 GB, free: 14.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.926e-05/0.1515, allocations: 113.8 kB / 0.6821 GB, free: 14.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.1516, allocations: 29.64 kB / 0.6821 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.1516, allocations: 84.14 kB / 0.6822 GB, free: 14.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.1516, allocations: 3.906 kB / 0.6822 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.1517, allocations: 13.72 kB / 0.6822 GB, free: 14.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.377e-05/0.1518, allocations: 315 kB / 0.6825 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.1518, allocations: 4 kB / 0.6825 GB, free: 13.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.1518, allocations: 4 kB / 0.6825 GB, free: 13.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.414e-05/0.1518, allocations: 16.8 kB / 0.6826 GB, free: 13.82 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1518, allocations: 0 / 0.6826 GB, free: 13.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.226e-05/0.1519, allocations: 37.69 kB / 0.6826 GB, free: 13.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.1519, allocations: 4 kB / 0.6826 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1519, allocations: 3.938 kB / 0.6826 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.1519, allocations: 3.984 kB / 0.6826 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.87e-05/0.152, allocations: 8.094 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.152, allocations: 0 / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.152, allocations: 0 / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.152, allocations: 0 / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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 6.935e-05/0.1521, allocations: 111.2 kB / 0.6827 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.006e-05/0.1521, allocations: 3.906 kB / 0.6827 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.701e-05/0.1522, allocations: 53.09 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1522, allocations: 0 / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1522, allocations: 32 / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.1522, allocations: 4 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.362e-05/0.1523, allocations: 153.7 kB / 0.6829 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1523, allocations: 0 / 0.6829 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.157e-05/0.1523, allocations: 0 / 0.6829 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1523, allocations: 7.984 kB / 0.6829 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.1523, allocations: 3.938 kB / 0.6829 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1523, allocations: 0 / 0.6829 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1523, allocations: 0 / 0.6829 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.569e-05/0.1524, allocations: 65.08 kB / 0.683 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.922e-05/0.1525, allocations: 77.11 kB / 0.6831 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.1525, allocations: 11.86 kB / 0.6831 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-06/0.1525, allocations: 0 / 0.6831 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.1525, allocations: 4 kB / 0.6831 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.1525, allocations: 4 kB / 0.6831 GB, free: 13.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.1526, allocations: 95.2 kB / 0.6832 GB, free: 13.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1526, allocations: 0 / 0.6832 GB, free: 13.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000179/0.1528, allocations: 8 kB / 0.6832 GB, free: 13.06 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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.0001638/0.1529, allocations: 114 kB / 0.6833 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.208e-05/0.153, allocations: 8 kB / 0.6833 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.153, allocations: 0 / 0.6833 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.294e-06/0.153, allocations: 0 / 0.6833 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.1531, allocations: 14.22 kB / 0.6833 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002226/0.1534, allocations: 113.5 kB / 0.6834 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.1536, allocations: 0.6768 MB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.798e-05/0.1537, allocations: 3.984 kB / 0.6841 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.1537, allocations: 11.44 kB / 0.6841 GB, free: 12.07 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1537, allocations: 0 / 0.6841 GB, free: 12.07 MB / 494.1 MB Notification: Performance of Templates: time 0.002106/0.1558, allocations: 481.9 kB / 0.6846 GB, free: 11.6 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)