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.004947/0.004947, allocations: 95.05 kB / 15.73 MB, free: 6.039 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.001098/0.001098, allocations: 205.7 kB / 16.68 MB, free: 5.969 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002053/0.002053, allocations: 275.1 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9449/0.9449, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 87.86 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1527, allocations: 86.97 MB / 0.7664 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002295/0.1551, allocations: 1.362 MB / 0.7677 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001517/0.1552, allocations: 47.81 kB / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.78e-05/0.1553, allocations: 0 / 0.7677 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.1555, allocations: 3.938 kB / 0.7677 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.1556, allocations: 19.91 kB / 0.7678 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.938e-06/0.1556, allocations: 7.938 kB / 0.7678 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.463e-05/0.1557, allocations: 19.94 kB / 0.7678 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.079e-05/0.1557, allocations: 4 kB / 0.7678 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.1558, allocations: 3.984 kB / 0.7678 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.296e-05/0.1558, allocations: 15.88 kB / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.1558, allocations: 0 / 0.7678 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.487e-05/0.1559, allocations: 8 kB / 0.7678 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.906e-05/0.1559, allocations: 11.98 kB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.156, allocations: 7.922 kB / 0.7678 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.693e-05/0.1561, allocations: 31.8 kB / 0.7679 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1561, allocations: 4 kB / 0.7679 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.455e-06/0.1561, allocations: 0 / 0.7679 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.1561, allocations: 3.938 kB / 0.7679 GB, free: 6.926 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003198/0.1564, allocations: 335.3 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1565, allocations: 12.02 kB / 0.7682 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.1565, allocations: 8.891 kB / 0.7682 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.1567, allocations: 176.4 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.1567, allocations: 384 / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.1567, allocations: 384 / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.217e-05/0.1568, allocations: 34.27 kB / 0.7684 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1568, allocations: 192 / 0.7684 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1568, allocations: 3.938 kB / 0.7684 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.1568, allocations: 3.938 kB / 0.7684 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.155e-05/0.1569, allocations: 4 kB / 0.7684 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.157, allocations: 153.7 kB / 0.7686 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.19e-05/0.1571, allocations: 18.58 kB / 0.7686 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.1571, allocations: 16.91 kB / 0.7686 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1571, allocations: 0 / 0.7686 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.1571, allocations: 30.56 kB / 0.7686 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 6.02e-07/0.1571, allocations: 0 / 0.7686 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001197/0.1573, allocations: 49.53 kB / 0.7687 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.1573, allocations: 51.41 kB / 0.7687 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.1574, allocations: 117.8 kB / 0.7688 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.1574, allocations: 25.83 kB / 0.7689 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.325e-05/0.1575, allocations: 88.12 kB / 0.7689 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.1575, allocations: 4 kB / 0.769 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/0.1575, allocations: 13.72 kB / 0.769 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1576, allocations: 314.8 kB / 0.7693 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.1577, allocations: 0 / 0.7693 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-06/0.1577, allocations: 4 kB / 0.7693 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.593e-05/0.1577, allocations: 20.78 kB / 0.7693 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1577, allocations: 4.062 kB / 0.7693 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.327e-05/0.1578, allocations: 37.66 kB / 0.7693 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.1578, allocations: 4 kB / 0.7693 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1578, allocations: 3.938 kB / 0.7693 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1578, allocations: 0 / 0.7693 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.496e-05/0.1579, allocations: 4 kB / 0.7693 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1579, allocations: 0 / 0.7693 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.268e-05/0.1579, allocations: 0 / 0.7693 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.1579, allocations: 0 / 0.7693 GB, free: 5.191 MB / 0.5606 GB 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 7.426e-05/0.158, allocations: 122.5 kB / 0.7695 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.158, allocations: 3.938 kB / 0.7695 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.786e-05/0.1581, allocations: 49.11 kB / 0.7695 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.1581, allocations: 3.984 kB / 0.7695 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1581, allocations: 0 / 0.7695 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1581, allocations: 0 / 0.7695 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.42e-05/0.1582, allocations: 157.7 kB / 0.7697 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1582, allocations: 0 / 0.7697 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.401e-05/0.1582, allocations: 4 kB / 0.7697 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1582, allocations: 32 / 0.7697 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.1582, allocations: 7.938 kB / 0.7697 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.1582, allocations: 0 / 0.7697 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1582, allocations: 0 / 0.7697 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.86e-05/0.1583, allocations: 69.02 kB / 0.7697 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.1584, allocations: 81.11 kB / 0.7698 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.1584, allocations: 3.938 kB / 0.7698 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.478e-06/0.1584, allocations: 0 / 0.7698 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-06/0.1584, allocations: 4.031 kB / 0.7698 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.1584, allocations: 0 / 0.7698 GB, free: 4.594 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.973e-05/0.1585, allocations: 91.58 kB / 0.7699 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1585, allocations: 0 / 0.7699 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001778/0.1586, allocations: 4 kB / 0.7699 GB, free: 4.5 MB / 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 (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.0001825/0.1588, allocations: 131 kB / 0.77 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.337e-05/0.1589, allocations: 12 kB / 0.77 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1589, allocations: 0 / 0.77 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.173e-06/0.1589, allocations: 0 / 0.77 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.1591, allocations: 12.22 kB / 0.7701 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.1593, allocations: 119.3 kB / 0.7702 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1595, allocations: 0.6847 MB / 0.7708 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.591e-05/0.1596, allocations: 7.984 kB / 0.7709 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.825e-05/0.1596, allocations: 7.438 kB / 0.7709 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.1596, allocations: 0 / 0.7709 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of Templates: time 0.002237/0.1619, allocations: 493.9 kB / 0.7713 GB, free: 3 MB / 0.5606 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1)