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.005697/0.005697, allocations: 101.2 kB / 15.73 MB, free: 6.047 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: 195.1 kB / 16.67 MB, free: 5.977 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002171/0.002171, allocations: 278.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9422/0.9422, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 95.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.153, allocations: 86.98 MB / 0.7664 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.002663/0.1557, allocations: 1.675 MB / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009653/0.1567, allocations: 0.5924 MB / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.1568, allocations: 0 / 0.7686 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.1568, allocations: 11.86 kB / 0.7686 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.1571, allocations: 47.7 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.1573, allocations: 103.6 kB / 0.7687 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.1575, allocations: 95.7 kB / 0.7688 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1576, allocations: 51.89 kB / 0.7689 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.613e-05/0.1576, allocations: 43.84 kB / 0.7689 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.924e-05/0.1578, allocations: 55.75 kB / 0.769 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.1578, allocations: 8 kB / 0.769 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.158, allocations: 95.92 kB / 0.7691 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.621e-05/0.158, allocations: 19.92 kB / 0.7691 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.082e-05/0.1581, allocations: 51.77 kB / 0.7691 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.1583, allocations: 175.4 kB / 0.7693 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1583, allocations: 0 / 0.7693 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1583, allocations: 4 kB / 0.7693 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.1584, allocations: 4 kB / 0.7693 GB, free: 5.418 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005702/0.1589, allocations: 427.2 kB / 0.7697 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.159, allocations: 8.031 kB / 0.7697 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.159, allocations: 12.84 kB / 0.7697 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.1592, allocations: 184.2 kB / 0.7699 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.1593, allocations: 71.95 kB / 0.77 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.1593, allocations: 8.312 kB / 0.77 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.1595, allocations: 113.7 kB / 0.7701 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1595, allocations: 3.938 kB / 0.7701 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.1596, allocations: 8 kB / 0.7701 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-06/0.1596, allocations: 0 / 0.7701 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.1598, allocations: 95.94 kB / 0.7702 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.1604, allocations: 436.2 kB / 0.7706 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.1606, allocations: 86.52 kB / 0.7707 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.969e-05/0.1607, allocations: 32.89 kB / 0.7707 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005004/0.1612, allocations: 311.2 kB / 0.771 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1613, allocations: 42.5 kB / 0.7711 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1613, allocations: 0 / 0.7711 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.00119/0.1625, allocations: 331.3 kB / 0.7714 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1625, allocations: 51.41 kB / 0.7714 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.1627, allocations: 178.2 kB / 0.7716 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1627, allocations: 25.7 kB / 0.7716 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.1628, allocations: 108 kB / 0.7717 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.1628, allocations: 27.61 kB / 0.7718 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.74e-05/0.1629, allocations: 21.72 kB / 0.7718 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.163, allocations: 322.8 kB / 0.7721 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.485e-05/0.1631, allocations: 35.98 kB / 0.7721 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.313e-05/0.1632, allocations: 35.98 kB / 0.7722 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.1634, allocations: 72.83 kB / 0.7722 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1634, allocations: 0 / 0.7722 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005178/0.1639, allocations: 182.2 kB / 0.7724 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1639, allocations: 4 kB / 0.7724 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1639, allocations: 0 / 0.7724 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000445/0.1644, allocations: 72.73 kB / 0.7725 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/0.1645, allocations: 15.92 kB / 0.7725 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3358/0.5003, allocations: 1.762 MB / 0.7742 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.5005, allocations: 21.67 kB / 0.7742 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.5005, allocations: 1.781 kB / 0.7742 GB, free: 14.23 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 (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 7.581e-05/0.5006, allocations: 115 kB / 0.7743 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.5006, allocations: 14.72 kB / 0.7744 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005746/0.5012, allocations: 175.5 kB / 0.7745 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.5012, allocations: 1.531 kB / 0.7745 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.5012, allocations: 1.266 kB / 0.7745 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5012, allocations: 1.344 kB / 0.7745 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/0.5019, allocations: 443.6 kB / 0.7749 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5019, allocations: 4.5 kB / 0.7749 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.502, allocations: 6.938 kB / 0.775 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003585/0.5023, allocations: 71.58 kB / 0.775 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.5024, allocations: 2.391 kB / 0.775 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.504, allocations: 1.77 MB / 0.7768 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.504, allocations: 1.406 kB / 0.7768 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.5045, allocations: 264.3 kB / 0.777 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.5046, allocations: 90.11 kB / 0.7771 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.5046, allocations: 1.203 kB / 0.7771 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.468e-05/0.5047, allocations: 7.781 kB / 0.7771 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.5047, allocations: 15.17 kB / 0.7771 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.5048, allocations: 3.828 kB / 0.7771 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.669e-05/0.5049, allocations: 128 kB / 0.7772 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5049, allocations: 0 / 0.7772 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000423/0.5053, allocations: 59.73 kB / 0.7773 GB, free: 11.95 MB / 0.5606 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.0002158/0.5055, allocations: 141.6 kB / 0.7774 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005498/0.5061, allocations: 214 kB / 0.7776 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5061, allocations: 0 / 0.7776 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002988/0.5064, allocations: 175.6 kB / 0.7778 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002712/0.5067, allocations: 24.11 kB / 0.7778 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.5072, allocations: 234 kB / 0.7781 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.5074, allocations: 0.7005 MB / 0.7787 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.564e-05/0.5074, allocations: 16.97 kB / 0.7788 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.5075, allocations: 13.47 kB / 0.7788 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.5075, allocations: 0 / 0.7788 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.005657/0.5131, allocations: 2.507 MB / 0.7812 GB, free: 10.71 MB / 0.5606 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)