Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001064/0.001064, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.243/1.243, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 291.6 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.885/0.885, allocations: 169.2 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 90.86 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1478, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002488/0.1503, allocations: 1.369 MB / 0.6829 GB, free: 6.066 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001476/0.1504, allocations: 43.81 kB / 0.683 GB, free: 6.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.1505, allocations: 3.938 kB / 0.683 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.1507, allocations: 11.92 kB / 0.683 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.1508, allocations: 11.88 kB / 0.683 GB, free: 5.996 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.927e-06/0.1508, allocations: 4 kB / 0.683 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.255e-05/0.1509, allocations: 15.92 kB / 0.683 GB, free: 5.977 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.405e-05/0.1509, allocations: 7.984 kB / 0.683 GB, free: 5.969 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.086e-05/0.151, allocations: 4 kB / 0.683 GB, free: 5.965 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.151, allocations: 11.92 kB / 0.683 GB, free: 5.953 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.151, allocations: 8 kB / 0.683 GB, free: 5.945 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.451e-05/0.1511, allocations: 12 kB / 0.6831 GB, free: 5.934 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.1511, allocations: 7.938 kB / 0.6831 GB, free: 5.926 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.274e-05/0.1511, allocations: 3.938 kB / 0.6831 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.1513, allocations: 31.89 kB / 0.6831 GB, free: 5.891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1513, allocations: 0 / 0.6831 GB, free: 5.891 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1513, allocations: 0 / 0.6831 GB, free: 5.891 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.1513, allocations: 0 / 0.6831 GB, free: 5.891 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.0003145/0.1516, allocations: 335.4 kB / 0.6834 GB, free: 5.512 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.1516, allocations: 16.03 kB / 0.6834 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.1517, allocations: 0.9375 kB / 0.6834 GB, free: 5.496 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.1519, allocations: 176.3 kB / 0.6836 GB, free: 5.285 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.1519, allocations: 4.312 kB / 0.6836 GB, free: 5.281 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.1519, allocations: 4.359 kB / 0.6836 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.023e-05/0.152, allocations: 30.27 kB / 0.6836 GB, free: 5.242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.152, allocations: 192 / 0.6836 GB, free: 5.242 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.152, allocations: 3.938 kB / 0.6836 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.152, allocations: 4 kB / 0.6836 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.829e-05/0.152, allocations: 0 / 0.6836 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.1522, allocations: 161.7 kB / 0.6838 GB, free: 5.027 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.114e-05/0.1522, allocations: 26.52 kB / 0.6838 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.577e-05/0.1523, allocations: 4.859 kB / 0.6838 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.1523, allocations: 0 / 0.6838 GB, free: 4.984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.1523, allocations: 38.61 kB / 0.6839 GB, free: 4.938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1523, allocations: 0 / 0.6839 GB, free: 4.938 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001222/0.1524, allocations: 41.64 kB / 0.6839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.1525, allocations: 55.41 kB / 0.684 GB, free: 4.824 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.1526, allocations: 113.8 kB / 0.6841 GB, free: 4.703 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1526, allocations: 29.64 kB / 0.6841 GB, free: 4.668 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.1527, allocations: 84.08 kB / 0.6842 GB, free: 4.582 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.1527, allocations: 7.891 kB / 0.6842 GB, free: 4.574 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.1527, allocations: 17.72 kB / 0.6842 GB, free: 4.551 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1528, allocations: 311 kB / 0.6845 GB, free: 4.238 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.1528, allocations: 8 kB / 0.6845 GB, free: 4.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.023e-06/0.1529, allocations: 3.938 kB / 0.6845 GB, free: 4.227 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.501e-05/0.1529, allocations: 12.86 kB / 0.6845 GB, free: 4.211 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1529, allocations: 0 / 0.6845 GB, free: 4.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.441e-05/0.153, allocations: 37.69 kB / 0.6846 GB, free: 4.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.153, allocations: 6.188 kB / 0.6846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.153, allocations: 3.938 kB / 0.6846 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.153, allocations: 0 / 0.6846 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.467e-05/0.1531, allocations: 12.03 kB / 0.6846 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.1531, allocations: 0 / 0.6846 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.213e-05/0.1531, allocations: 0 / 0.6846 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.1531, allocations: 0 / 0.6846 GB, free: 4.148 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.69e-05/0.1532, allocations: 117.8 kB / 0.6847 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.101e-05/0.1532, allocations: 3.906 kB / 0.6847 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.081e-05/0.1533, allocations: 45.17 kB / 0.6847 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.1533, allocations: 0 / 0.6847 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1533, allocations: 32 / 0.6847 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1533, allocations: 7.984 kB / 0.6847 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.716e-05/0.1534, allocations: 157.7 kB / 0.6849 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1534, allocations: 4 kB / 0.6849 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.1534, allocations: 0 / 0.6849 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1534, allocations: 0 / 0.6849 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.1534, allocations: 3.938 kB / 0.6849 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1534, allocations: 0 / 0.6849 GB, free: 3.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1534, allocations: 3.938 kB / 0.6849 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.58e-05/0.1535, allocations: 69.11 kB / 0.685 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.1536, allocations: 81.11 kB / 0.6851 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1536, allocations: 3.938 kB / 0.6851 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-06/0.1536, allocations: 0 / 0.6851 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.1536, allocations: 0 / 0.6851 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.1536, allocations: 0 / 0.6851 GB, free: 3.559 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.932e-05/0.1537, allocations: 99.2 kB / 0.6851 GB, free: 3.461 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1537, allocations: 0 / 0.6851 GB, free: 3.461 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001847/0.1539, allocations: 4 kB / 0.6852 GB, free: 3.457 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.0001664/0.154, allocations: 122.7 kB / 0.6853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.245e-05/0.1541, allocations: 11.94 kB / 0.6853 GB, free: 3.324 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.1541, allocations: 0 / 0.6853 GB, free: 3.324 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.848e-06/0.1541, allocations: 4 kB / 0.6853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.1543, allocations: 4.125 kB / 0.6853 GB, free: 3.316 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002158/0.1545, allocations: 109.5 kB / 0.6854 GB, free: 3.184 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.1548, allocations: 0.6845 MB / 0.6861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.489e-05/0.1548, allocations: 4 kB / 0.6861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.1548, allocations: 11.42 kB / 0.6861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1548, allocations: 0 / 0.6861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of Templates: time 0.002374/0.1572, allocations: 0.4915 MB / 0.6866 GB, free: 1.969 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)