Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.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.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 108.1 kB / 16.36 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.0012/0.0012, 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002095/0.002095, allocations: 279.4 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.9163/0.9163, allocations: 169.2 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 95.41 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1511, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002776/0.1539, allocations: 1.482 MB / 0.683 GB, free: 5.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1553, allocations: 1.101 MB / 0.6841 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.502e-05/0.1554, allocations: 7.938 kB / 0.6841 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.1556, allocations: 23.86 kB / 0.6841 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.1558, allocations: 39.78 kB / 0.6842 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.156, allocations: 70.89 kB / 0.6842 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.1562, allocations: 143.6 kB / 0.6844 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.1564, allocations: 61.03 kB / 0.6844 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1565, allocations: 79.75 kB / 0.6845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.1566, allocations: 63.64 kB / 0.6846 GB, free: 4.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.1567, allocations: 8 kB / 0.6846 GB, free: 4.375 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.866e-05/0.1567, allocations: 24 kB / 0.6846 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.127e-05/0.1568, allocations: 55.88 kB / 0.6847 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.486e-05/0.1569, allocations: 75.58 kB / 0.6847 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.1572, allocations: 203.4 kB / 0.6849 GB, free: 4.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.1572, allocations: 0 / 0.6849 GB, free: 4.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1572, allocations: 0 / 0.6849 GB, free: 4.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1572, allocations: 0 / 0.6849 GB, free: 4.023 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000607/0.1578, allocations: 490.7 kB / 0.6854 GB, free: 3.496 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.255e-05/0.1579, allocations: 8.031 kB / 0.6854 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.1579, allocations: 24.69 kB / 0.6854 GB, free: 3.465 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.1582, allocations: 261.1 kB / 0.6857 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.1584, allocations: 119.4 kB / 0.6858 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.1584, allocations: 384 / 0.6858 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.1587, allocations: 165.7 kB / 0.686 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1587, allocations: 7.922 kB / 0.686 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.1588, allocations: 0 / 0.686 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.1588, allocations: 8 kB / 0.686 GB, free: 2.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.912e-05/0.1589, allocations: 47.97 kB / 0.686 GB, free: 2.801 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009276/0.1598, allocations: 456.3 kB / 0.6864 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.459e-05/0.1599, allocations: 42.55 kB / 0.6865 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.1599, allocations: 24.84 kB / 0.6865 GB, free: 2.227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.16, allocations: 4 kB / 0.6865 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.16, allocations: 34.56 kB / 0.6865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.16, allocations: 0 / 0.6865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002391/0.1602, allocations: 105.4 kB / 0.6866 GB, free: 2.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.1603, allocations: 51.41 kB / 0.6867 GB, free: 2.008 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.1605, allocations: 219.7 kB / 0.6869 GB, free: 1.781 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.362e-05/0.1605, allocations: 33.7 kB / 0.6869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.1606, allocations: 124.3 kB / 0.6871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.1606, allocations: 27.69 kB / 0.6871 GB, free: 1.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.1607, allocations: 29.7 kB / 0.6871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1608, allocations: 326.8 kB / 0.6874 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.064e-05/0.1608, allocations: 27.98 kB / 0.6875 GB, free: 1.199 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.663e-05/0.1609, allocations: 98.28 kB / 0.6875 GB, free: 1.066 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.1611, allocations: 142.1 kB / 0.6877 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1611, allocations: 4 kB / 0.6877 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002265/0.1613, allocations: 149.2 kB / 0.6878 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1613, allocations: 10.19 kB / 0.6878 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1614, allocations: 4 kB / 0.6878 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.1614, allocations: 4.375 kB / 0.6878 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.1615, allocations: 27.92 kB / 0.6879 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1615, allocations: 7.938 kB / 0.6879 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.012e-05/0.1616, allocations: 15.84 kB / 0.6879 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1616, allocations: 8 kB / 0.6879 GB, free: 0.6602 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001127/0.1617, allocations: 146.3 kB / 0.688 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.1617, allocations: 15.81 kB / 0.6881 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.1619, allocations: 115.1 kB / 0.6882 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.162, allocations: 4 kB / 0.6882 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.162, allocations: 3.938 kB / 0.6882 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.162, allocations: 4 kB / 0.6882 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.1622, allocations: 233.5 kB / 0.6884 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1622, allocations: 0 / 0.6884 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.821e-05/0.1623, allocations: 15.98 kB / 0.6884 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1623, allocations: 3.938 kB / 0.6884 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.1623, allocations: 4 kB / 0.6884 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1623, allocations: 0 / 0.6884 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1623, allocations: 7.938 kB / 0.6884 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2593/0.4216, allocations: 175.5 kB / 0.6886 GB, free: 18.62 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.419e-05/0.4217, allocations: 90.59 kB / 0.6887 GB, free: 18.53 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.4217, allocations: 1.484 kB / 0.6887 GB, free: 18.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.422, allocations: 21.25 kB / 0.6887 GB, free: 18.53 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.422, allocations: 9.344 kB / 0.6887 GB, free: 18.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.4221, allocations: 14.38 kB / 0.6887 GB, free: 18.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001547/0.4222, allocations: 161.2 kB / 0.6889 GB, free: 18.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4222, allocations: 0 / 0.6889 GB, free: 18.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003936/0.4226, allocations: 36.17 kB / 0.6889 GB, free: 18.45 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 (8): * Single equations (assignments): 8 * 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.0002211/0.4228, allocations: 120.7 kB / 0.689 GB, free: 18.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.423, allocations: 74.64 kB / 0.6891 GB, free: 18.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.423, allocations: 0 / 0.6891 GB, free: 18.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.158e-05/0.4231, allocations: 26.97 kB / 0.6891 GB, free: 18.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.4234, allocations: 23.94 kB / 0.6892 GB, free: 18.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.4238, allocations: 283 kB / 0.6894 GB, free: 18.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.424, allocations: 0.7314 MB / 0.6901 GB, free: 17.51 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001168/0.4241, allocations: 54.95 kB / 0.6902 GB, free: 17.51 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.4242, allocations: 17.53 kB / 0.6902 GB, free: 17.5 MB / 494.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4242, allocations: 4.547 kB / 0.6902 GB, free: 17.5 MB / 494.1 MB Notification: Performance of Templates: time 0.005256/0.4294, allocations: 2.375 MB / 0.6925 GB, free: 17.39 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1)