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.001532/0.001532, allocations: 116.8 kB / 16.37 MB, free: 6 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.001782/0.001782, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002235/0.002236, allocations: 281.4 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.9234/0.9234, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 98.62 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1449, allocations: 86.97 MB / 0.6816 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static): time 0.002805/0.1477, allocations: 1.665 MB / 0.6832 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009549/0.1487, allocations: 0.5965 MB / 0.6838 GB, free: 5.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.976e-05/0.1488, allocations: 0 / 0.6838 GB, free: 5.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.948e-05/0.1489, allocations: 15.86 kB / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.1491, allocations: 39.7 kB / 0.6839 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.1494, allocations: 103.6 kB / 0.684 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.1495, allocations: 103.7 kB / 0.6841 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1497, allocations: 35.89 kB / 0.6841 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.559e-05/0.1497, allocations: 43.84 kB / 0.6841 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.61e-05/0.1498, allocations: 47.83 kB / 0.6842 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.1498, allocations: 8 kB / 0.6842 GB, free: 4.812 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.1501, allocations: 103.9 kB / 0.6843 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.928e-05/0.1501, allocations: 27.91 kB / 0.6843 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.094e-05/0.1502, allocations: 47.73 kB / 0.6844 GB, free: 4.637 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.1504, allocations: 171.5 kB / 0.6845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1504, allocations: 7.938 kB / 0.6845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1504, allocations: 4 kB / 0.6845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.1505, allocations: 0 / 0.6845 GB, free: 4.457 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.0006075/0.1511, allocations: 431.2 kB / 0.6849 GB, free: 3.984 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.1511, allocations: 8.031 kB / 0.685 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.1512, allocations: 16.83 kB / 0.685 GB, free: 3.961 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.1513, allocations: 180.2 kB / 0.6851 GB, free: 3.746 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.535e-05/0.1514, allocations: 71.89 kB / 0.6852 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.1514, allocations: 8.375 kB / 0.6852 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.1517, allocations: 115.2 kB / 0.6853 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1517, allocations: 3.938 kB / 0.6853 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1517, allocations: 12 kB / 0.6853 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.1517, allocations: 0 / 0.6853 GB, free: 3.523 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.152, allocations: 95.23 kB / 0.6854 GB, free: 3.434 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.1526, allocations: 440.1 kB / 0.6859 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.1529, allocations: 82.62 kB / 0.6859 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.124e-05/0.153, allocations: 44.83 kB / 0.686 GB, free: 2.816 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005274/0.1535, allocations: 307.2 kB / 0.6863 GB, free: 2.461 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1535, allocations: 34.5 kB / 0.6863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.1535, allocations: 4 kB / 0.6863 GB, free: 2.414 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.001217/0.1548, allocations: 335.3 kB / 0.6866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.1548, allocations: 51.41 kB / 0.6867 GB, free: 1.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.155, allocations: 166.4 kB / 0.6868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.155, allocations: 29.7 kB / 0.6869 GB, free: 1.789 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.1551, allocations: 107.9 kB / 0.687 GB, free: 1.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.1551, allocations: 23.66 kB / 0.687 GB, free: 1.656 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/0.1551, allocations: 33.7 kB / 0.687 GB, free: 1.617 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1552, allocations: 326.8 kB / 0.6873 GB, free: 1.289 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.496e-05/0.1553, allocations: 31.98 kB / 0.6874 GB, free: 1.258 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.441e-05/0.1554, allocations: 31.92 kB / 0.6874 GB, free: 1.227 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.1556, allocations: 72.84 kB / 0.6875 GB, free: 1.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1556, allocations: 3.984 kB / 0.6875 GB, free: 1.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005478/0.1562, allocations: 178.3 kB / 0.6876 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1562, allocations: 4 kB / 0.6876 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1562, allocations: 4 kB / 0.6876 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004454/0.1567, allocations: 76.72 kB / 0.6877 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.542e-05/0.1568, allocations: 8 kB / 0.6877 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2379/0.3947, allocations: 1.768 MB / 0.6894 GB, free: 16.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001112/0.3948, allocations: 17.02 kB / 0.6895 GB, free: 16.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.3948, allocations: 3.5 kB / 0.6895 GB, free: 16.8 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 (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 6.791e-05/0.3949, allocations: 118.4 kB / 0.6896 GB, free: 16.69 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.3949, allocations: 8.844 kB / 0.6896 GB, free: 16.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005357/0.3955, allocations: 177.6 kB / 0.6898 GB, free: 16.65 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3955, allocations: 5.172 kB / 0.6898 GB, free: 16.64 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.3955, allocations: 0 / 0.6898 GB, free: 16.64 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3955, allocations: 2.734 kB / 0.6898 GB, free: 16.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/0.3962, allocations: 448.1 kB / 0.6902 GB, free: 16.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3962, allocations: 2.141 kB / 0.6902 GB, free: 16.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.3962, allocations: 7.266 kB / 0.6902 GB, free: 16.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003478/0.3966, allocations: 67.7 kB / 0.6903 GB, free: 16.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3966, allocations: 3.422 kB / 0.6903 GB, free: 16.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.3981, allocations: 1.76 MB / 0.692 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3981, allocations: 4.375 kB / 0.692 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.3986, allocations: 267.2 kB / 0.6922 GB, free: 14.69 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.3986, allocations: 85.88 kB / 0.6923 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.3986, allocations: 2.281 kB / 0.6923 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.75e-05/0.3987, allocations: 7.531 kB / 0.6923 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.3988, allocations: 12.92 kB / 0.6924 GB, free: 14.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3988, allocations: 2.531 kB / 0.6924 GB, free: 14.59 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.223e-05/0.3989, allocations: 128.5 kB / 0.6925 GB, free: 14.51 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3989, allocations: 0.6562 kB / 0.6925 GB, free: 14.51 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003963/0.3993, allocations: 57.12 kB / 0.6925 GB, free: 14.51 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 (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.0001871/0.3995, allocations: 148.7 kB / 0.6927 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005173/0.4, allocations: 219.7 kB / 0.6929 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4, allocations: 0 / 0.6929 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.4003, allocations: 163.9 kB / 0.693 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.4006, allocations: 20.72 kB / 0.6931 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.4011, allocations: 245.1 kB / 0.6933 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.4012, allocations: 0.6965 MB / 0.694 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.917e-05/0.4013, allocations: 19.56 kB / 0.694 GB, free: 13.36 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/0.4013, allocations: 13.59 kB / 0.694 GB, free: 13.35 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4013, allocations: 0 / 0.694 GB, free: 13.35 MB / 494.1 MB Notification: Performance of Templates: time 0.005445/0.4067, allocations: 2.432 MB / 0.6964 GB, free: 13.27 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Buildings.Comfort.Examples.ThermalComfort_DIN_EN_ISO_7730_Static.pipe 2>&1)