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.001074/0.001074, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008138/0.008138, allocations: 169.9 kB / 16.27 MB, free: 6.66 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.326/1.326, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001695/0.001695, allocations: 263.1 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9266/0.9266, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004211/0.0004212, allocations: 15.12 kB / 0.5986 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1837, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic): time 0.002365/0.1861, allocations: 1.46 MB / 0.6865 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1876, allocations: 0.7262 MB / 0.6873 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.1877, allocations: 0 / 0.6873 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.1878, allocations: 3.938 kB / 0.6873 GB, free: 12.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.1879, allocations: 24.97 kB / 0.6873 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003918/0.1883, allocations: 92.27 kB / 0.6874 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.1885, allocations: 120.4 kB / 0.6875 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1886, allocations: 39.5 kB / 0.6875 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.1888, allocations: 47.78 kB / 0.6876 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1889, allocations: 52.72 kB / 0.6876 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.189, allocations: 4 kB / 0.6876 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.1892, allocations: 75.38 kB / 0.6877 GB, free: 12.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.1892, allocations: 27.84 kB / 0.6877 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.024e-05/0.1893, allocations: 69.44 kB / 0.6878 GB, free: 12.34 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000335/0.1897, allocations: 163.5 kB / 0.6879 GB, free: 12.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.1897, allocations: 0 / 0.6879 GB, free: 12.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1897, allocations: 3.938 kB / 0.6879 GB, free: 12.17 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1898, allocations: 0 / 0.6879 GB, free: 12.17 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.0008214/0.1906, allocations: 441.5 kB / 0.6884 GB, free: 11.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.1906, allocations: 11.97 kB / 0.6884 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/0.1907, allocations: 13.59 kB / 0.6884 GB, free: 11.67 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.1909, allocations: 188.1 kB / 0.6886 GB, free: 11.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.191, allocations: 74.39 kB / 0.6886 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.1911, allocations: 8.375 kB / 0.6887 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.1915, allocations: 134.5 kB / 0.6888 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1915, allocations: 0 / 0.6888 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.1916, allocations: 8 kB / 0.6888 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1916, allocations: 0 / 0.6888 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.1921, allocations: 134.3 kB / 0.6889 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009394/0.193, allocations: 449.6 kB / 0.6893 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/0.1933, allocations: 97.06 kB / 0.6894 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.1936, allocations: 64.83 kB / 0.6895 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006966/0.1943, allocations: 319.2 kB / 0.6898 GB, free: 10.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.1943, allocations: 38.5 kB / 0.6898 GB, free: 10.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.1943, allocations: 0 / 0.6898 GB, free: 10.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.00202/0.1964, allocations: 431.4 kB / 0.6903 GB, free: 9.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1964, allocations: 59.39 kB / 0.6903 GB, free: 9.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.1966, allocations: 168 kB / 0.6905 GB, free: 9.328 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.1967, allocations: 29.7 kB / 0.6905 GB, free: 9.293 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.1968, allocations: 107.9 kB / 0.6906 GB, free: 9.184 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.1968, allocations: 31.55 kB / 0.6906 GB, free: 9.152 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/0.1969, allocations: 17.72 kB / 0.6906 GB, free: 9.129 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.197, allocations: 330.7 kB / 0.691 GB, free: 8.797 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.1973, allocations: 59.97 kB / 0.691 GB, free: 8.738 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.1975, allocations: 51.97 kB / 0.6911 GB, free: 8.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.1979, allocations: 120.8 kB / 0.6912 GB, free: 8.566 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1979, allocations: 0 / 0.6912 GB, free: 8.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009361/0.1989, allocations: 245.6 kB / 0.6914 GB, free: 8.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.1989, allocations: 5.719 kB / 0.6914 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1989, allocations: 4 kB / 0.6914 GB, free: 8.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006108/0.1996, allocations: 77.11 kB / 0.6915 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.1997, allocations: 27.92 kB / 0.6915 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/0.2026, allocations: 1.615 MB / 0.6931 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.2028, allocations: 31.92 kB / 0.6931 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.2028, allocations: 0 / 0.6931 GB, free: 6.422 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 (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 0.0001236/0.2029, allocations: 118.4 kB / 0.6932 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.203, allocations: 23.81 kB / 0.6933 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.204, allocations: 223.8 kB / 0.6935 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.2041, allocations: 7.938 kB / 0.6935 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2041, allocations: 0 / 0.6935 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.2041, allocations: 0 / 0.6935 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.2054, allocations: 0.5 MB / 0.694 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.2054, allocations: 0 / 0.694 GB, free: 5.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.2056, allocations: 20.02 kB / 0.694 GB, free: 5.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005463/0.2061, allocations: 72.94 kB / 0.6941 GB, free: 5.383 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.2062, allocations: 3.984 kB / 0.6941 GB, free: 5.379 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/0.2089, allocations: 1.619 MB / 0.6957 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2089, allocations: 0 / 0.6957 GB, free: 3.629 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.21, allocations: 313 kB / 0.696 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.575e-05/0.21, allocations: 92.91 kB / 0.696 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.2101, allocations: 8 kB / 0.696 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.2103, allocations: 11.98 kB / 0.6961 GB, free: 3.172 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.2104, allocations: 15.86 kB / 0.6961 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.2104, allocations: 8 kB / 0.6961 GB, free: 3.148 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.2106, allocations: 129.2 kB / 0.6962 GB, free: 3.023 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2106, allocations: 0 / 0.6962 GB, free: 3.023 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006754/0.2113, allocations: 55.92 kB / 0.6963 GB, free: 2.969 MB / 494.1 MB 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.0003034/0.2116, allocations: 131.9 kB / 0.6964 GB, free: 2.828 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009615/0.2126, allocations: 274.7 kB / 0.6966 GB, free: 2.547 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2126, allocations: 0 / 0.6966 GB, free: 2.547 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00055/0.2132, allocations: 190.7 kB / 0.6968 GB, free: 2.348 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.2137, allocations: 15.91 kB / 0.6968 GB, free: 2.332 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.2145, allocations: 326.1 kB / 0.6972 GB, free: 1.984 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.2148, allocations: 0.7087 MB / 0.6978 GB, free: 1.25 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.215, allocations: 16.67 kB / 0.6979 GB, free: 1.234 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.215, allocations: 19.42 kB / 0.6979 GB, free: 1.215 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.215, allocations: 0 / 0.6979 GB, free: 1.215 MB / 494.1 MB Notification: Performance of Templates: time 0.007721/0.2228, allocations: 2.225 MB / 0.7001 GB, free: 15.04 MB / 0.4981 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)