Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor",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.8243/0.8243, allocations: 143.3 MB / 158.3 MB, free: 5.758 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.001261/0.001261, allocations: 185 kB / 191.5 MB, free: 5.73 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.606/1.606, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.001083/0.001083, allocations: 92.27 kB / 0.5187 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 274.2 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004814, allocations: 13.94 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1882, allocations: 82.8 MB / 0.7738 GB, free: 13.71 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5525/0.7407, allocations: 110.7 MB / 0.8819 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.7411, allocations: 82.14 kB / 0.8819 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01314/0.7542, allocations: 4.908 MB / 0.8867 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 5.45e-06/0.7543, allocations: 0 / 0.8867 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.155e-05/0.7543, allocations: 2.375 kB / 0.8867 GB, free: 107.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000954/0.7553, allocations: 482.5 kB / 0.8872 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.945e-05/0.7554, allocations: 14.19 kB / 0.8872 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/0.7554, allocations: 31.84 kB / 0.8872 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.542e-05/0.7555, allocations: 16.59 kB / 0.8873 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.7558, allocations: 210.3 kB / 0.8875 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.7558, allocations: 1.312 kB / 0.8875 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.7559, allocations: 1.531 kB / 0.8875 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.7562, allocations: 73.5 kB / 0.8875 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.7562, allocations: 7.938 kB / 0.8875 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.7562, allocations: 4 kB / 0.8875 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.7562, allocations: 1.406 kB / 0.8875 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.7565, allocations: 76.31 kB / 0.8876 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007954/0.7573, allocations: 344.2 kB / 0.8879 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.7575, allocations: 73.72 kB / 0.888 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.593e-05/0.7576, allocations: 10.16 kB / 0.888 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.7577, allocations: 42.48 kB / 0.8881 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.7577, allocations: 3.25 kB / 0.8881 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.000632/0.7583, allocations: 162.2 kB / 0.8882 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.7584, allocations: 51.41 kB / 0.8883 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.7587, allocations: 230.7 kB / 0.8885 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.7588, allocations: 25.7 kB / 0.8885 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.7589, allocations: 141.7 kB / 0.8887 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.7589, allocations: 4.688 kB / 0.8887 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.149e-06/0.7589, allocations: 0 / 0.8887 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.759, allocations: 337 kB / 0.889 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.7592, allocations: 40.67 kB / 0.889 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.7593, allocations: 38.7 kB / 0.8891 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.7594, allocations: 42.17 kB / 0.8891 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7594, allocations: 0 / 0.8891 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002794/0.7597, allocations: 124.6 kB / 0.8892 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7597, allocations: 5.859 kB / 0.8892 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7597, allocations: 0 / 0.8892 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.7598, allocations: 3.453 kB / 0.8892 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.7599, allocations: 15.34 kB / 0.8892 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.7599, allocations: 0 / 0.8892 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.561e-05/0.76, allocations: 11.41 kB / 0.8892 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.76, allocations: 2.938 kB / 0.8892 GB, free: 105.9 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 (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.7601, allocations: 138.5 kB / 0.8894 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.7602, allocations: 16.83 kB / 0.8894 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003883/0.7606, allocations: 146.6 kB / 0.8895 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.7606, allocations: 3.5 kB / 0.8895 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7606, allocations: 0 / 0.8895 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.7606, allocations: 0 / 0.8895 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.7609, allocations: 221.4 kB / 0.8898 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.7609, allocations: 4.031 kB / 0.8898 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.431e-05/0.7609, allocations: 14.28 kB / 0.8898 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.761, allocations: 0 / 0.8898 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.761, allocations: 3.812 kB / 0.8898 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.761, allocations: 2.922 kB / 0.8898 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.761, allocations: 0 / 0.8898 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.7613, allocations: 223.5 kB / 0.89 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.7614, allocations: 91.72 kB / 0.8901 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.7614, allocations: 0.6562 kB / 0.8901 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.7615, allocations: 9.328 kB / 0.8901 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.7616, allocations: 5.391 kB / 0.8901 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.7616, allocations: 11.98 kB / 0.8901 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001833/0.7618, allocations: 186.4 kB / 0.8903 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7618, allocations: 0 / 0.8903 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000362/0.7622, allocations: 45.69 kB / 0.8903 GB, free: 105.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006642/0.7628, allocations: 0.8024 MB / 0.8911 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002587/0.7631, allocations: 72.7 kB / 0.8912 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7631, allocations: 0 / 0.8912 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.7632, allocations: 43.84 kB / 0.8912 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.7636, allocations: 37.98 kB / 0.8913 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008561/0.7644, allocations: 447.9 kB / 0.8917 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.7647, allocations: 0.7389 MB / 0.8924 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.508e-05/0.7647, allocations: 2.844 kB / 0.8924 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.7648, allocations: 49.2 kB / 0.8925 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of SimCode: time 5.01e-07/0.7648, allocations: 0 / 0.8925 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.7836, allocations: 4.005 MB / 0.8964 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.7839, allocations: 204 kB / 0.8966 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.524, allocations: 8.688 kB / 0.8966 GB, free: 102.3 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)