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.001192/0.001192, allocations: 107.8 kB / 16.36 MB, free: 6.285 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.001247/0.001247, allocations: 193.2 kB / 17.29 MB, free: 5.863 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.217/1.217, 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.002026/0.002026, allocations: 285.8 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8847/0.8847, allocations: 169.2 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 90.95 kB / 0.5966 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1456, allocations: 86.98 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.WeeklySchedule): time 0.002338/0.1479, allocations: 1.341 MB / 0.6829 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001333/0.1481, allocations: 43.75 kB / 0.6829 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.1481, allocations: 0 / 0.6829 GB, free: 6.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.1483, allocations: 7.938 kB / 0.6829 GB, free: 6.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.789e-05/0.1484, allocations: 23.84 kB / 0.683 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.256e-06/0.1484, allocations: 0 / 0.683 GB, free: 6.027 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.246e-05/0.1484, allocations: 15.92 kB / 0.683 GB, free: 6.012 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.1485, allocations: 4 kB / 0.683 GB, free: 6.008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.45e-05/0.1485, allocations: 8 kB / 0.683 GB, free: 6 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.1486, allocations: 7.938 kB / 0.683 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.532e-05/0.1486, allocations: 0 / 0.683 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.301e-05/0.1486, allocations: 15.98 kB / 0.683 GB, free: 5.977 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.583e-05/0.1487, allocations: 7.938 kB / 0.683 GB, free: 5.969 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.7e-05/0.1487, allocations: 7.922 kB / 0.683 GB, free: 5.961 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.966e-05/0.1488, allocations: 23.92 kB / 0.6831 GB, free: 5.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1488, allocations: 0 / 0.6831 GB, free: 5.938 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1488, allocations: 0 / 0.6831 GB, free: 5.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.1488, allocations: 0 / 0.6831 GB, free: 5.938 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.0003066/0.1491, allocations: 335.3 kB / 0.6834 GB, free: 5.562 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.1492, allocations: 8.031 kB / 0.6834 GB, free: 5.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.21e-05/0.1492, allocations: 4.938 kB / 0.6834 GB, free: 5.551 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.1494, allocations: 184.2 kB / 0.6836 GB, free: 5.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.1494, allocations: 384 / 0.6836 GB, free: 5.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.1494, allocations: 384 / 0.6836 GB, free: 5.332 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.064e-05/0.1495, allocations: 30.27 kB / 0.6836 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.1495, allocations: 192 / 0.6836 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1495, allocations: 7.922 kB / 0.6836 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.1495, allocations: 8 kB / 0.6836 GB, free: 5.281 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.1495, allocations: 4 kB / 0.6836 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.1497, allocations: 153.7 kB / 0.6838 GB, free: 5.078 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.686e-05/0.1497, allocations: 18.52 kB / 0.6838 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.542e-05/0.1497, allocations: 8.922 kB / 0.6838 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.1498, allocations: 0 / 0.6838 GB, free: 5.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1498, allocations: 34.56 kB / 0.6838 GB, free: 4.996 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1498, allocations: 0 / 0.6838 GB, free: 4.996 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001097/0.1499, allocations: 41.64 kB / 0.6839 GB, free: 4.949 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.15, allocations: 55.39 kB / 0.6839 GB, free: 4.883 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.1501, allocations: 117.8 kB / 0.684 GB, free: 4.758 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1501, allocations: 29.7 kB / 0.6841 GB, free: 4.723 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.1501, allocations: 88.08 kB / 0.6841 GB, free: 4.633 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.1501, allocations: 3.906 kB / 0.6841 GB, free: 4.629 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.1502, allocations: 17.84 kB / 0.6842 GB, free: 4.605 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.203e-05/0.1503, allocations: 314.8 kB / 0.6845 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.082e-05/0.1503, allocations: 7.922 kB / 0.6845 GB, free: 4.281 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-06/0.1503, allocations: 0 / 0.6845 GB, free: 4.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.286e-05/0.1503, allocations: 8.859 kB / 0.6845 GB, free: 4.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1503, allocations: 0 / 0.6845 GB, free: 4.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.289e-05/0.1504, allocations: 37.7 kB / 0.6845 GB, free: 4.227 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.1504, allocations: 4 kB / 0.6845 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1504, allocations: 8.031 kB / 0.6845 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1504, allocations: 4 kB / 0.6845 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.179e-05/0.1505, allocations: 7.922 kB / 0.6845 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1505, allocations: 0 / 0.6845 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.18e-05/0.1505, allocations: 0 / 0.6845 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.1505, allocations: 0 / 0.6845 GB, free: 4.203 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.053e-05/0.1506, allocations: 109.8 kB / 0.6846 GB, free: 4.086 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.1506, allocations: 3.906 kB / 0.6846 GB, free: 4.082 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.178e-05/0.1507, allocations: 53.16 kB / 0.6847 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.1507, allocations: 3.984 kB / 0.6847 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1507, allocations: 0 / 0.6847 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1507, allocations: 0 / 0.6847 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.662e-05/0.1508, allocations: 153.7 kB / 0.6848 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1508, allocations: 0 / 0.6848 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.178e-05/0.1508, allocations: 4 kB / 0.6848 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1508, allocations: 0 / 0.6848 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.1508, allocations: 3.938 kB / 0.6848 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1508, allocations: 3.938 kB / 0.6849 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1508, allocations: 0 / 0.6849 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.021e-05/0.1509, allocations: 61.16 kB / 0.6849 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.1509, allocations: 85.05 kB / 0.685 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.151, allocations: 3.938 kB / 0.685 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-06/0.151, allocations: 0 / 0.685 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.151, allocations: 8 kB / 0.685 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-06/0.151, allocations: 0 / 0.685 GB, free: 3.617 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.119e-05/0.1511, allocations: 91.27 kB / 0.6851 GB, free: 3.527 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1511, allocations: 7.969 kB / 0.6851 GB, free: 3.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001795/0.1512, allocations: 4 kB / 0.6851 GB, free: 3.516 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.0001653/0.1514, allocations: 122 kB / 0.6852 GB, free: 3.391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6e-05/0.1515, allocations: 7.938 kB / 0.6852 GB, free: 3.383 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1515, allocations: 4.062 kB / 0.6852 GB, free: 3.379 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.245e-06/0.1515, allocations: 4 kB / 0.6852 GB, free: 3.375 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.1516, allocations: 6.344 kB / 0.6852 GB, free: 3.371 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002149/0.1519, allocations: 105.5 kB / 0.6853 GB, free: 3.242 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.1521, allocations: 0.6768 MB / 0.686 GB, free: 2.539 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.483e-05/0.1521, allocations: 7.984 kB / 0.686 GB, free: 2.531 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.722e-05/0.1521, allocations: 11.44 kB / 0.686 GB, free: 2.52 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1521, allocations: 4.062 kB / 0.686 GB, free: 2.516 MB / 494.1 MB Notification: Performance of Templates: time 0.002228/0.1544, allocations: 478 kB / 0.6865 GB, free: 2.055 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.WeeklySchedule.pipe 2>&1)