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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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="me",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="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8014/0.8014, allocations: 143.4 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 177.1 kB / 191.5 MB, free: 5.785 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.2 MB / 447.7 MB, free: 4.867 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 96.25 kB / 0.5187 GB, free: 1.223 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0018/0.0018, allocations: 263.1 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004503, allocations: 11.34 kB / 0.6929 GB, free: 59.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1747, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5473/0.7221, allocations: 110.4 MB / 0.8816 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.7224, allocations: 78.22 kB / 0.8817 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008574/0.731, allocations: 3.131 MB / 0.8847 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.994e-06/0.731, allocations: 0 / 0.8847 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.7311, allocations: 2.656 kB / 0.8847 GB, free: 107.8 MB / 0.5417 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.0005783/0.7316, allocations: 456.7 kB / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.7317, allocations: 8.609 kB / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.7318, allocations: 46.72 kB / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.7318, allocations: 13.59 kB / 0.8852 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.7319, allocations: 187.8 kB / 0.8854 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.732, allocations: 70.12 kB / 0.8855 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.7321, allocations: 8.812 kB / 0.8855 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003105/0.7324, allocations: 131.7 kB / 0.8856 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.7324, allocations: 0 / 0.8856 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.7324, allocations: 10.56 kB / 0.8856 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.7324, allocations: 6.969 kB / 0.8856 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.7328, allocations: 135.5 kB / 0.8858 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007018/0.7335, allocations: 460.2 kB / 0.8862 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.7337, allocations: 94.48 kB / 0.8863 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004483/0.7342, allocations: 318.8 kB / 0.8866 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.7342, allocations: 39.17 kB / 0.8866 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.7342, allocations: 0 / 0.8866 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.001388/0.7356, allocations: 425.6 kB / 0.887 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.7356, allocations: 58.92 kB / 0.8871 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.7358, allocations: 154.4 kB / 0.8872 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.7358, allocations: 25.7 kB / 0.8873 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.7359, allocations: 121.9 kB / 0.8874 GB, free: 106 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.7359, allocations: 29.72 kB / 0.8874 GB, free: 106 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.264e-06/0.7359, allocations: 0 / 0.8874 GB, free: 106 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.736, allocations: 324.6 kB / 0.8877 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.7361, allocations: 54.22 kB / 0.8878 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.7363, allocations: 62.97 kB / 0.8878 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.7364, allocations: 58.27 kB / 0.8879 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7365, allocations: 0 / 0.8879 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006822/0.7371, allocations: 243.2 kB / 0.8881 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.7372, allocations: 5.906 kB / 0.8881 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.7372, allocations: 0 / 0.8881 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005397/0.7377, allocations: 92.5 kB / 0.8882 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.7379, allocations: 23.41 kB / 0.8882 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/0.7398, allocations: 1.621 MB / 0.8898 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.7399, allocations: 21.34 kB / 0.8898 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.74, allocations: 7.375 kB / 0.8898 GB, free: 104.2 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 8.947e-05/0.7401, allocations: 124.9 kB / 0.89 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.7401, allocations: 18.25 kB / 0.89 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007479/0.7409, allocations: 241.1 kB / 0.8902 GB, free: 104 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.7409, allocations: 3.469 kB / 0.8902 GB, free: 104 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.7409, allocations: 4.562 kB / 0.8902 GB, free: 104 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.7409, allocations: 0.9375 kB / 0.8902 GB, free: 104 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008945/0.7418, allocations: 0.4995 MB / 0.8907 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.7418, allocations: 0 / 0.8907 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.691e-05/0.7419, allocations: 17.36 kB / 0.8907 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004215/0.7423, allocations: 91.83 kB / 0.8908 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.7424, allocations: 0.5156 kB / 0.8908 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.7439, allocations: 1.623 MB / 0.8924 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.744, allocations: 6.438 kB / 0.8924 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000657/0.7446, allocations: 339.4 kB / 0.8927 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/0.7447, allocations: 91.86 kB / 0.8928 GB, free: 102 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.7447, allocations: 0.8438 kB / 0.8928 GB, free: 102 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.7448, allocations: 14.03 kB / 0.8928 GB, free: 102 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/0.7449, allocations: 10.86 kB / 0.8928 GB, free: 102 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.7449, allocations: 7.266 kB / 0.8928 GB, free: 102 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.901e-05/0.745, allocations: 120.2 kB / 0.893 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.745, allocations: 6.5 kB / 0.893 GB, free: 101.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004134/0.7454, allocations: 59.06 kB / 0.893 GB, free: 101.9 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009815/0.7464, allocations: 0.9742 MB / 0.894 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000667/0.7471, allocations: 267.5 kB / 0.8942 GB, free: 101 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7471, allocations: 0 / 0.8942 GB, free: 101 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.7475, allocations: 191.9 kB / 0.8944 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.7477, allocations: 20.41 kB / 0.8944 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.7495, allocations: 0.9789 MB / 0.8954 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.7497, allocations: 0.7133 MB / 0.8961 GB, free: 99.72 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.662e-05/0.7498, allocations: 11.59 kB / 0.8961 GB, free: 99.71 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.111e-05/0.7498, allocations: 31.09 kB / 0.8961 GB, free: 99.71 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.7499, allocations: 0 / 0.8961 GB, free: 99.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01745/0.7673, allocations: 3.672 MB / 0.8997 GB, free: 99.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/0.7675, allocations: 250 kB / 0.9 GB, free: 98.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.567, allocations: 6.953 kB / 0.9 GB, free: 98.81 MB / 0.5417 GB (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/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Buildings_Comfort_Examples_ThermalComfort_DIN_EN_ISO_7730_Dynamic_fmu --startTime=0 --stopTime=7200 --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)