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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 219.3 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002546/0.002546, allocations: 288.3 kB / 313.5 MB, free: 2.594 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.204/1.204, allocations: 180.6 MB / 0.5377 GB, free: 14.6 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic,fileNamePrefix="BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 102.9 kB / 0.7402 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1736, allocations: 95.38 MB / 0.8334 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic): time 0.003197/0.1768, allocations: 1.745 MB / 0.8351 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1781, allocations: 0.744 MB / 0.8358 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.154e-05/0.1782, allocations: 7.938 kB / 0.8358 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.243e-05/0.1782, allocations: 11.86 kB / 0.8358 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.804e-05/0.1783, allocations: 15.8 kB / 0.8358 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004227/0.1787, allocations: 123.6 kB / 0.836 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.1789, allocations: 143.5 kB / 0.8361 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1791, allocations: 37.28 kB / 0.8361 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.1792, allocations: 59.78 kB / 0.8362 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.1794, allocations: 71.67 kB / 0.8363 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.1794, allocations: 8 kB / 0.8363 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.1796, allocations: 79.94 kB / 0.8363 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.564e-05/0.1796, allocations: 23.92 kB / 0.8364 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.1797, allocations: 51.72 kB / 0.8364 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.1799, allocations: 191.3 kB / 0.8366 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.18, allocations: 0 / 0.8366 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.563e-06/0.18, allocations: 0 / 0.8366 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.18, allocations: 0 / 0.8366 GB, free: 5.031 MB / 0.5762 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.000727/0.1807, allocations: 385.6 kB / 0.837 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1807, allocations: 9.344 kB / 0.837 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.442e-05/0.1807, allocations: 8.125 kB / 0.837 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.1808, allocations: 46.75 kB / 0.837 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.181, allocations: 32.86 kB / 0.8371 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.1813, allocations: 150.2 kB / 0.8372 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.1814, allocations: 115.4 kB / 0.8373 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.1814, allocations: 16.11 kB / 0.8373 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.1817, allocations: 125.6 kB / 0.8374 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1817, allocations: 0 / 0.8374 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.1818, allocations: 11.98 kB / 0.8375 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1818, allocations: 4 kB / 0.8375 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.1821, allocations: 119.9 kB / 0.8376 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006873/0.1828, allocations: 395.5 kB / 0.8379 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.183, allocations: 82.47 kB / 0.838 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.1831, allocations: 56.77 kB / 0.8381 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004556/0.1836, allocations: 83.91 kB / 0.8382 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.1836, allocations: 34.56 kB / 0.8382 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.1836, allocations: 0 / 0.8382 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.001378/0.185, allocations: 306.4 kB / 0.8385 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.185, allocations: 55.41 kB / 0.8385 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.1852, allocations: 183.4 kB / 0.8387 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1852, allocations: 25.7 kB / 0.8387 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.1853, allocations: 112 kB / 0.8388 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1853, allocations: 31.73 kB / 0.8389 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.957e-05/0.1854, allocations: 29.7 kB / 0.8389 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1855, allocations: 330.8 kB / 0.8392 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.1857, allocations: 51.97 kB / 0.8393 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1858, allocations: 51.97 kB / 0.8393 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002681/0.1861, allocations: 105.9 kB / 0.8394 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1861, allocations: 0 / 0.8394 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006289/0.1867, allocations: 224.4 kB / 0.8396 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1867, allocations: 4 kB / 0.8396 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1867, allocations: 8.312 kB / 0.8396 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004502/0.1872, allocations: 72.8 kB / 0.8397 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1873, allocations: 19.98 kB / 0.8397 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.1895, allocations: 1.658 MB / 0.8414 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.1896, allocations: 19.91 kB / 0.8414 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.1896, allocations: 8 kB / 0.8414 GB, free: 15.79 MB / 0.5919 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 0.000105/0.1897, allocations: 124.8 kB / 0.8415 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.1898, allocations: 11.91 kB / 0.8415 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006619/0.1904, allocations: 215.7 kB / 0.8417 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1904, allocations: 0 / 0.8417 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.72e-07/0.1904, allocations: 0 / 0.8417 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1904, allocations: 3.984 kB / 0.8417 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008746/0.1913, allocations: 455 kB / 0.8422 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1913, allocations: 0 / 0.8422 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.486e-05/0.1914, allocations: 15.92 kB / 0.8422 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003664/0.1918, allocations: 68.8 kB / 0.8422 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1918, allocations: 3.984 kB / 0.8422 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/0.1937, allocations: 1.653 MB / 0.8439 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1937, allocations: 0 / 0.8439 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006521/0.1944, allocations: 301 kB / 0.8441 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.1944, allocations: 19.91 kB / 0.8442 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.299e-05/0.1944, allocations: 3.938 kB / 0.8442 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.1946, allocations: 11.98 kB / 0.8442 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.971e-05/0.1946, allocations: 11.98 kB / 0.8442 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1946, allocations: 3.984 kB / 0.8442 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001073/0.1947, allocations: 140.2 kB / 0.8443 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.1947, allocations: 0 / 0.8443 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003912/0.1951, allocations: 55.88 kB / 0.8444 GB, free: 12.51 MB / 0.5919 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.001071/0.1962, allocations: 0.8623 MB / 0.8452 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006488/0.1969, allocations: 246.5 kB / 0.8455 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1969, allocations: 0 / 0.8455 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.1973, allocations: 178.6 kB / 0.8456 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.1975, allocations: 15.98 kB / 0.8456 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003033/0.2006, allocations: 1.993 MB / 0.8476 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.2007, allocations: 97.48 kB / 0.8477 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.871e-05/0.2007, allocations: 17.19 kB / 0.8477 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.2008, allocations: 39.42 kB / 0.8477 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.2008, allocations: 0 / 0.8477 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.2281, allocations: 4.407 MB / 0.852 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.8, allocations: 18.86 kB / 0.8521 GB, free: 4.703 MB / 0.5919 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic.fmu > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.021747250924818] Failed to read output from testmodel.py, exit status != 0: 12.979006643989123 13.011125625 12.824285643 Calling exit ...