Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.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.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static") translateModel(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001317/0.001317, allocations: 200.7 kB / 16.26 MB, free: 6.621 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.44/1.44, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002599/0.002599, allocations: 294.8 kB / 290.4 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.507 GB, free: 4.719 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 102.5 kB / 0.6059 GB, free: 24.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1517, allocations: 89.15 MB / 0.693 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.00286/0.1546, allocations: 1.737 MB / 0.6947 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009351/0.1556, allocations: 0.5953 MB / 0.6953 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.067e-05/0.1556, allocations: 0.6562 kB / 0.6953 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.033e-05/0.1557, allocations: 7.922 kB / 0.6953 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002472/0.1559, allocations: 39.27 kB / 0.6953 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.1561, allocations: 79.78 kB / 0.6954 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.1563, allocations: 107.6 kB / 0.6955 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1564, allocations: 28.67 kB / 0.6955 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.274e-05/0.1565, allocations: 39.84 kB / 0.6955 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.835e-05/0.1566, allocations: 48.48 kB / 0.6956 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.1566, allocations: 8 kB / 0.6956 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001938/0.1568, allocations: 107.9 kB / 0.6957 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.1568, allocations: 27.91 kB / 0.6957 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.1569, allocations: 47.73 kB / 0.6958 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.1571, allocations: 175.8 kB / 0.6959 GB, free: 1.672 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1572, allocations: 4 kB / 0.6959 GB, free: 1.668 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1572, allocations: 0 / 0.6959 GB, free: 1.668 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1572, allocations: 0 / 0.6959 GB, free: 1.668 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006587/0.1578, allocations: 427.2 kB / 0.6964 GB, free: 1.199 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.1579, allocations: 8.031 kB / 0.6964 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.1579, allocations: 16.75 kB / 0.6964 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.1581, allocations: 176.2 kB / 0.6965 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.1582, allocations: 67.95 kB / 0.6966 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.1582, allocations: 8.375 kB / 0.6966 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.1585, allocations: 116.2 kB / 0.6967 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1585, allocations: 3.938 kB / 0.6967 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.1585, allocations: 15.94 kB / 0.6967 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1585, allocations: 0 / 0.6967 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.1588, allocations: 95.89 kB / 0.6968 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006833/0.1595, allocations: 444 kB / 0.6973 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.1597, allocations: 82.62 kB / 0.6973 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.745e-05/0.1598, allocations: 40.89 kB / 0.6974 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005836/0.1604, allocations: 307.2 kB / 0.6977 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1604, allocations: 38.5 kB / 0.6977 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.1605, allocations: 0 / 0.6977 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001299/0.1618, allocations: 335.3 kB / 0.698 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.1618, allocations: 55.34 kB / 0.6981 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.162, allocations: 165.8 kB / 0.6982 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.162, allocations: 29.7 kB / 0.6983 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.092e-05/0.1621, allocations: 103.9 kB / 0.6984 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.1621, allocations: 23.66 kB / 0.6984 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.399e-05/0.1622, allocations: 33.7 kB / 0.6984 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1623, allocations: 322.8 kB / 0.6987 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.1624, allocations: 39.91 kB / 0.6988 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.721e-05/0.1625, allocations: 27.98 kB / 0.6988 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.1627, allocations: 72.84 kB / 0.6989 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1627, allocations: 0 / 0.6989 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005583/0.1633, allocations: 190.4 kB / 0.699 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1633, allocations: 4 kB / 0.699 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1633, allocations: 4 kB / 0.6991 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004596/0.1638, allocations: 72.73 kB / 0.6991 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/0.1639, allocations: 16 kB / 0.6991 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.1662, allocations: 1.765 MB / 0.7009 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1663, allocations: 23.8 kB / 0.7009 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.1664, allocations: 8.062 kB / 0.7009 GB, free: 12.14 MB / 0.4981 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 9.484e-05/0.1665, allocations: 113.8 kB / 0.701 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.1665, allocations: 7.906 kB / 0.701 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005839/0.1671, allocations: 179 kB / 0.7012 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.1671, allocations: 0 / 0.7012 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.1671, allocations: 0 / 0.7012 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1671, allocations: 3.984 kB / 0.7012 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008154/0.168, allocations: 443.9 kB / 0.7016 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.168, allocations: 3.938 kB / 0.7016 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.168, allocations: 7.984 kB / 0.7016 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003821/0.1684, allocations: 72.83 kB / 0.7017 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.1684, allocations: 0 / 0.7017 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.1706, allocations: 1.767 MB / 0.7034 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.1706, allocations: 4.031 kB / 0.7034 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.1712, allocations: 265 kB / 0.7037 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.124e-05/0.1712, allocations: 81.02 kB / 0.7037 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.1713, allocations: 7.938 kB / 0.7038 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.1714, allocations: 7.984 kB / 0.7038 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.1714, allocations: 7.984 kB / 0.7038 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.1715, allocations: 4 kB / 0.7038 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001041/0.1716, allocations: 127.2 kB / 0.7039 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1716, allocations: 7.938 kB / 0.7039 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004079/0.172, allocations: 55.94 kB / 0.704 GB, free: 8.738 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002328/0.1722, allocations: 143.2 kB / 0.7041 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005814/0.1728, allocations: 219 kB / 0.7043 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1728, allocations: 0 / 0.7043 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.1732, allocations: 162.6 kB / 0.7045 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.1735, allocations: 27.17 kB / 0.7045 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005823/0.1741, allocations: 272.4 kB / 0.7047 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.1745, allocations: 0.6967 MB / 0.7054 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.501e-05/0.1745, allocations: 12.89 kB / 0.7054 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.1746, allocations: 11.44 kB / 0.7054 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1746, allocations: 0 / 0.7054 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of Templates: time 0.006158/0.1807, allocations: 2.408 MB / 0.7078 GB, free: 4.766 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.sim & ./BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe 2>&1)