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.00135/0.00135, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002173/0.002173, allocations: 286.9 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9019/0.9019, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 101.4 kB / 0.5952 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1422, allocations: 86.99 MB / 0.6802 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002453/0.1447, allocations: 1.333 MB / 0.6815 GB, free: 15.35 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001355/0.1448, allocations: 39.77 kB / 0.6815 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.1449, allocations: 0 / 0.6815 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.145, allocations: 15.86 kB / 0.6815 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.891e-05/0.1451, allocations: 15.92 kB / 0.6816 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.306e-06/0.1451, allocations: 0 / 0.6816 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.609e-05/0.1452, allocations: 16.7 kB / 0.6816 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.1452, allocations: 0 / 0.6816 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.316e-05/0.1452, allocations: 9.719 kB / 0.6816 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.043e-05/0.1453, allocations: 11.92 kB / 0.6816 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.1453, allocations: 0 / 0.6816 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.138e-05/0.1453, allocations: 12 kB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.308e-05/0.1454, allocations: 7.922 kB / 0.6816 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.1454, allocations: 8.812 kB / 0.6816 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.528e-05/0.1455, allocations: 23.92 kB / 0.6816 GB, free: 15.19 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1455, allocations: 0.625 kB / 0.6816 GB, free: 15.19 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1455, allocations: 0 / 0.6816 GB, free: 15.19 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.1455, allocations: 0.5312 kB / 0.6816 GB, free: 15.19 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.0002822/0.1458, allocations: 332.8 kB / 0.682 GB, free: 14.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.1458, allocations: 12.03 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.69e-05/0.1459, allocations: 1.938 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.146, allocations: 180.3 kB / 0.6821 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-06/0.146, allocations: 384 / 0.6821 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-06/0.1461, allocations: 4.375 kB / 0.6821 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.729e-05/0.1461, allocations: 38.19 kB / 0.6822 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.1461, allocations: 192 / 0.6822 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1461, allocations: 7.922 kB / 0.6822 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.1462, allocations: 4 kB / 0.6822 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.586e-05/0.1462, allocations: 0 / 0.6822 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.1463, allocations: 153.7 kB / 0.6823 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.505e-05/0.1464, allocations: 22.58 kB / 0.6824 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.39e-05/0.1464, allocations: 8.797 kB / 0.6824 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.1464, allocations: 0 / 0.6824 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.1464, allocations: 30.56 kB / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.1464, allocations: 0 / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000106/0.1465, allocations: 45.69 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.1466, allocations: 51.41 kB / 0.6825 GB, free: 14.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.896e-05/0.1467, allocations: 118 kB / 0.6826 GB, free: 14.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.1467, allocations: 33.64 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.56e-05/0.1467, allocations: 80.14 kB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.1468, allocations: 3.906 kB / 0.6827 GB, free: 13.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.1468, allocations: 17.72 kB / 0.6827 GB, free: 13.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.1469, allocations: 322.7 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.1469, allocations: 0 / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.1469, allocations: 4 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.433e-05/0.1469, allocations: 16.92 kB / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1469, allocations: 0 / 0.6831 GB, free: 13.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.391e-05/0.147, allocations: 37.69 kB / 0.6831 GB, free: 13.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.147, allocations: 8 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.147, allocations: 3.938 kB / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.717e-06/0.1471, allocations: 0 / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.682e-05/0.1471, allocations: 0 / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.1471, allocations: 0 / 0.6831 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.33e-05/0.1471, allocations: 7.938 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.917e-06/0.1471, allocations: 0 / 0.6831 GB, free: 13.45 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 5.626e-05/0.1472, allocations: 111.2 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.1472, allocations: 7.906 kB / 0.6832 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.426e-05/0.1473, allocations: 45.16 kB / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1473, allocations: 0 / 0.6833 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1473, allocations: 4 kB / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.1473, allocations: 0 / 0.6833 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.225e-05/0.1474, allocations: 153.7 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1474, allocations: 0 / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/0.1474, allocations: 4.031 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1474, allocations: 0 / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1475, allocations: 7.922 kB / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1475, allocations: 4 kB / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1475, allocations: 0 / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.659e-05/0.1475, allocations: 57.08 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.1476, allocations: 77.11 kB / 0.6836 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1476, allocations: 7.922 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.046e-05/0.1476, allocations: 8.031 kB / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.1476, allocations: 0 / 0.6836 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.1476, allocations: 4 kB / 0.6836 GB, free: 12.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.586e-05/0.1477, allocations: 95.52 kB / 0.6837 GB, free: 12.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1477, allocations: 0 / 0.6837 GB, free: 12.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001801/0.1479, allocations: 7.984 kB / 0.6837 GB, free: 12.77 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.000162/0.148, allocations: 114 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.987e-05/0.1481, allocations: 11.94 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.1481, allocations: 0 / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.354e-06/0.1481, allocations: 0 / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.1483, allocations: 11.98 kB / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.1485, allocations: 109.6 kB / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/0.1487, allocations: 0.6768 MB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.381e-05/0.1487, allocations: 3.984 kB / 0.6846 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.708e-05/0.1488, allocations: 15.44 kB / 0.6846 GB, free: 11.77 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1488, allocations: 0 / 0.6846 GB, free: 11.77 MB / 494.1 MB Notification: Performance of Templates: time 0.002154/0.1509, allocations: 481.7 kB / 0.6851 GB, free: 11.3 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)