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.001162/0.001162, allocations: 107.5 kB / 16.36 MB, free: 6.285 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.001132/0.001132, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.303/1.303, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002179/0.00218, allocations: 285.1 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.932/0.932, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 95.25 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1404, allocations: 86.98 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic): time 0.002642/0.143, allocations: 1.746 MB / 0.6833 GB, free: 5.703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.1441, allocations: 0.733 MB / 0.684 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.86e-05/0.1441, allocations: 0 / 0.684 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.1442, allocations: 7.875 kB / 0.684 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.055e-05/0.1443, allocations: 27.72 kB / 0.6841 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003218/0.1446, allocations: 103.7 kB / 0.6841 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.1447, allocations: 139.5 kB / 0.6843 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1449, allocations: 41.19 kB / 0.6843 GB, free: 4.652 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.145, allocations: 55.84 kB / 0.6844 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1451, allocations: 63.69 kB / 0.6844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.1451, allocations: 12 kB / 0.6844 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1453, allocations: 75.92 kB / 0.6845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.324e-05/0.1453, allocations: 31.91 kB / 0.6846 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.1454, allocations: 59.66 kB / 0.6846 GB, free: 4.359 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.1456, allocations: 167.5 kB / 0.6848 GB, free: 4.195 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1456, allocations: 0 / 0.6848 GB, free: 4.195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1456, allocations: 0 / 0.6848 GB, free: 4.195 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.1456, allocations: 0 / 0.6848 GB, free: 4.195 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.0006416/0.1463, allocations: 455 kB / 0.6852 GB, free: 3.703 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.1463, allocations: 12.03 kB / 0.6852 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.1464, allocations: 16.75 kB / 0.6852 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1465, allocations: 187 kB / 0.6854 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.1466, allocations: 67.91 kB / 0.6855 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.1466, allocations: 8.375 kB / 0.6855 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.1469, allocations: 134.6 kB / 0.6856 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.1469, allocations: 0 / 0.6856 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.1469, allocations: 8 kB / 0.6856 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.147, allocations: 8 kB / 0.6856 GB, free: 3.219 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.1473, allocations: 119.9 kB / 0.6857 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006587/0.1479, allocations: 452.1 kB / 0.6862 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.1481, allocations: 86.53 kB / 0.6863 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.1483, allocations: 52.83 kB / 0.6863 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005171/0.1488, allocations: 323.2 kB / 0.6866 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1489, allocations: 34.5 kB / 0.6866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1489, allocations: 0 / 0.6866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.00134/0.1502, allocations: 391.3 kB / 0.687 GB, free: 1.637 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.1503, allocations: 55.41 kB / 0.6871 GB, free: 1.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.1504, allocations: 176.1 kB / 0.6872 GB, free: 1.391 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1504, allocations: 25.7 kB / 0.6873 GB, free: 1.359 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.1505, allocations: 107.9 kB / 0.6874 GB, free: 1.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.1505, allocations: 27.56 kB / 0.6874 GB, free: 1.223 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.1506, allocations: 33.7 kB / 0.6874 GB, free: 1.184 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1507, allocations: 322.8 kB / 0.6877 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.1508, allocations: 55.97 kB / 0.6878 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.151, allocations: 51.97 kB / 0.6878 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.1512, allocations: 108.8 kB / 0.6879 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1513, allocations: 0 / 0.6879 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005894/0.1518, allocations: 221.2 kB / 0.6881 GB, free: 432 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1519, allocations: 4 kB / 0.6882 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.1519, allocations: 7.984 kB / 0.6882 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004199/0.1523, allocations: 72.73 kB / 0.6882 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1524, allocations: 23.92 kB / 0.6883 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2322/0.3846, allocations: 1.756 MB / 0.69 GB, free: 16.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.3848, allocations: 22.11 kB / 0.69 GB, free: 16.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.3848, allocations: 3.953 kB / 0.69 GB, free: 16.68 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 7.51e-05/0.3849, allocations: 117.6 kB / 0.6901 GB, free: 16.56 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.385, allocations: 10.03 kB / 0.6901 GB, free: 16.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006452/0.3856, allocations: 215.1 kB / 0.6903 GB, free: 16.52 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3856, allocations: 2.266 kB / 0.6903 GB, free: 16.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.3856, allocations: 4.188 kB / 0.6903 GB, free: 16.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3856, allocations: 0.6094 kB / 0.6903 GB, free: 16.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007734/0.3864, allocations: 496.1 kB / 0.6908 GB, free: 16.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.3864, allocations: 3.125 kB / 0.6908 GB, free: 16.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.374e-05/0.3865, allocations: 17.67 kB / 0.6908 GB, free: 16.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003765/0.3869, allocations: 70.3 kB / 0.6909 GB, free: 16.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.3869, allocations: 10.34 kB / 0.6909 GB, free: 16.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.3885, allocations: 1.755 MB / 0.6926 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3885, allocations: 6.219 kB / 0.6926 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005846/0.3891, allocations: 292.1 kB / 0.6929 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.3891, allocations: 99.8 kB / 0.693 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.3891, allocations: 3.219 kB / 0.693 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3893, allocations: 10.8 kB / 0.693 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.3894, allocations: 13.28 kB / 0.693 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.3894, allocations: 3.594 kB / 0.693 GB, free: 14.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.751e-05/0.3895, allocations: 132.1 kB / 0.6931 GB, free: 14.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3895, allocations: 3.75 kB / 0.6931 GB, free: 14.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003937/0.3899, allocations: 52.73 kB / 0.6932 GB, free: 14.37 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.0001602/0.39, allocations: 139.3 kB / 0.6933 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006035/0.3906, allocations: 248.2 kB / 0.6936 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3906, allocations: 0.7812 kB / 0.6936 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003707/0.391, allocations: 191.2 kB / 0.6937 GB, free: 14.04 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.3913, allocations: 21.56 kB / 0.6938 GB, free: 14.03 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004777/0.3918, allocations: 277.1 kB / 0.694 GB, free: 13.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001126/0.3919, allocations: 0.7066 MB / 0.6947 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.177e-05/0.392, allocations: 16.17 kB / 0.6947 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.392, allocations: 14.55 kB / 0.6948 GB, free: 13.15 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.392, allocations: 0 / 0.6948 GB, free: 13.15 MB / 494.1 MB Notification: Performance of Templates: time 0.005661/0.3977, allocations: 2.442 MB / 0.6971 GB, free: 13.04 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Dynamic.pipe 2>&1)