Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic") translateModel(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006106/0.006106, allocations: 100.7 kB / 15.73 MB, free: 6.469 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.001078/0.001078, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 287 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.972/0.972, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 103.8 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1706, allocations: 86.97 MB / 0.7664 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic): time 0.002871/0.1735, allocations: 1.754 MB / 0.7681 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1747, allocations: 0.7443 MB / 0.7688 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.1748, allocations: 0 / 0.7688 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.749e-05/0.1749, allocations: 11.81 kB / 0.7688 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.175, allocations: 23.78 kB / 0.7688 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.1754, allocations: 111.6 kB / 0.7689 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001726/0.1756, allocations: 127.6 kB / 0.7691 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1757, allocations: 45.33 kB / 0.7691 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1759, allocations: 63.78 kB / 0.7692 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.176, allocations: 55.75 kB / 0.7692 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.176, allocations: 16 kB / 0.7692 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.1762, allocations: 79.92 kB / 0.7693 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.42e-05/0.1763, allocations: 27.91 kB / 0.7693 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.1763, allocations: 51.67 kB / 0.7694 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.1766, allocations: 175.5 kB / 0.7695 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1766, allocations: 0 / 0.7695 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1766, allocations: 0 / 0.7695 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1766, allocations: 0 / 0.7695 GB, free: 5.18 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.000695/0.1773, allocations: 459 kB / 0.77 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1773, allocations: 8.031 kB / 0.77 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.1774, allocations: 16.75 kB / 0.77 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.1775, allocations: 180.8 kB / 0.7702 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.1777, allocations: 59.97 kB / 0.7702 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1777, allocations: 12.38 kB / 0.7703 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.178, allocations: 140.7 kB / 0.7704 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.178, allocations: 0 / 0.7704 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.178, allocations: 4 kB / 0.7704 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.178, allocations: 4 kB / 0.7704 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000298/0.1783, allocations: 111.9 kB / 0.7705 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006836/0.179, allocations: 452.1 kB / 0.7709 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.1792, allocations: 82.53 kB / 0.771 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.1794, allocations: 56.83 kB / 0.7711 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000512/0.1799, allocations: 311.2 kB / 0.7714 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.1799, allocations: 46.62 kB / 0.7714 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.18, allocations: 4 kB / 0.7714 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.001336/0.1813, allocations: 391.1 kB / 0.7718 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.1813, allocations: 55.41 kB / 0.7718 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001626/0.1815, allocations: 175.1 kB / 0.772 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1815, allocations: 29.7 kB / 0.772 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.1816, allocations: 107.9 kB / 0.7721 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1816, allocations: 27.56 kB / 0.7722 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.337e-05/0.1817, allocations: 29.7 kB / 0.7722 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.1818, allocations: 326.8 kB / 0.7725 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.182, allocations: 51.97 kB / 0.7725 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.1821, allocations: 47.97 kB / 0.7726 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.1824, allocations: 116.2 kB / 0.7727 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1824, allocations: 0 / 0.7727 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005862/0.183, allocations: 222.3 kB / 0.7729 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.183, allocations: 4 kB / 0.7729 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.183, allocations: 0 / 0.7729 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004253/0.1834, allocations: 76.73 kB / 0.773 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1836, allocations: 19.98 kB / 0.773 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3118/0.4954, allocations: 1.764 MB / 0.7747 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.4956, allocations: 20.98 kB / 0.7748 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.4956, allocations: 3.078 kB / 0.7748 GB, free: 13.79 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 (10): * Single equations (assignments): 9 * 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.219e-05/0.4957, allocations: 125.6 kB / 0.7749 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.4957, allocations: 14.06 kB / 0.7749 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006864/0.4964, allocations: 212.7 kB / 0.7751 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4964, allocations: 1.547 kB / 0.7751 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.4965, allocations: 2.5 kB / 0.7751 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4965, allocations: 5.453 kB / 0.7751 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008323/0.4973, allocations: 487.6 kB / 0.7756 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.4973, allocations: 0.5938 kB / 0.7756 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.188e-05/0.4974, allocations: 15.47 kB / 0.7756 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003578/0.4978, allocations: 77.61 kB / 0.7757 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.4978, allocations: 2.359 kB / 0.7757 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/0.4994, allocations: 1.759 MB / 0.7774 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4994, allocations: 4.75 kB / 0.7774 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005624/0.4999, allocations: 307.3 kB / 0.7777 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.965e-05/0.5, allocations: 86.8 kB / 0.7778 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.5, allocations: 5 kB / 0.7778 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.5001, allocations: 9.094 kB / 0.7778 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.5002, allocations: 14.89 kB / 0.7778 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.5002, allocations: 3.219 kB / 0.7778 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.158e-05/0.5003, allocations: 132.1 kB / 0.7779 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5003, allocations: 0 / 0.7779 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003859/0.5007, allocations: 50.52 kB / 0.778 GB, free: 11.5 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 (6): * Single equations (assignments): 5 * 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.0001785/0.5009, allocations: 143 kB / 0.7781 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005993/0.5015, allocations: 254.3 kB / 0.7783 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5015, allocations: 3.719 kB / 0.7783 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003322/0.5018, allocations: 186.6 kB / 0.7785 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.5021, allocations: 16.69 kB / 0.7785 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004835/0.5026, allocations: 274.8 kB / 0.7788 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.5027, allocations: 0.7044 MB / 0.7795 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.329e-05/0.5028, allocations: 14.97 kB / 0.7795 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.5028, allocations: 17.19 kB / 0.7795 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.5028, allocations: 0 / 0.7795 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.00528/0.5081, allocations: 2.533 MB / 0.782 GB, free: 10.21 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.sim & ./BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe 2>&1)