Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",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.865/0.865, allocations: 143.3 MB / 158.3 MB, free: 5.832 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.001591/0.001591, allocations: 179.3 kB / 191.5 MB, free: 5.773 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.692/1.692, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.000967/0.0009671, allocations: 88.33 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 269.2 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004732, allocations: 13.84 kB / 0.6929 GB, free: 59.62 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1908, allocations: 82.8 MB / 0.7738 GB, free: 13.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6315/0.8223, allocations: 110.7 MB / 0.8819 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.8227, allocations: 84.75 kB / 0.8819 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01211/0.8348, allocations: 4.905 MB / 0.8867 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.795e-06/0.8349, allocations: 3.938 kB / 0.8867 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.8349, allocations: 2.969 kB / 0.8867 GB, free: 30.9 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.0006576/0.8356, allocations: 481.7 kB / 0.8872 GB, free: 30.46 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.8356, allocations: 10.84 kB / 0.8872 GB, free: 30.46 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.833e-05/0.8357, allocations: 41.98 kB / 0.8872 GB, free: 30.42 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.8357, allocations: 15.56 kB / 0.8873 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.8359, allocations: 208.6 kB / 0.8875 GB, free: 30.19 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.8359, allocations: 0.6562 kB / 0.8875 GB, free: 30.19 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.8359, allocations: 2.906 kB / 0.8875 GB, free: 30.19 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002406/0.8362, allocations: 73.42 kB / 0.8875 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.8362, allocations: 4 kB / 0.8875 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.8362, allocations: 0 / 0.8875 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.8362, allocations: 0 / 0.8875 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.8365, allocations: 82.53 kB / 0.8876 GB, free: 30.15 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/0.837, allocations: 345.4 kB / 0.8879 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.8372, allocations: 73.91 kB / 0.888 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.81e-05/0.8373, allocations: 8.984 kB / 0.888 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.8373, allocations: 40.91 kB / 0.8881 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.8374, allocations: 0 / 0.8881 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0004842/0.8378, allocations: 161.3 kB / 0.8882 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.8379, allocations: 60.47 kB / 0.8883 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.8382, allocations: 222.3 kB / 0.8885 GB, free: 29.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.8382, allocations: 26.86 kB / 0.8885 GB, free: 29.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.8383, allocations: 139.9 kB / 0.8886 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.913e-05/0.8383, allocations: 1.094 kB / 0.8886 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.618e-06/0.8383, allocations: 0 / 0.8886 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.8385, allocations: 335.8 kB / 0.889 GB, free: 29.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.8386, allocations: 43.8 kB / 0.889 GB, free: 29.16 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.8387, allocations: 34.84 kB / 0.889 GB, free: 29.16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.8389, allocations: 41.58 kB / 0.8891 GB, free: 29.16 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8389, allocations: 0 / 0.8891 GB, free: 29.16 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003259/0.8392, allocations: 128.8 kB / 0.8892 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.8392, allocations: 4.125 kB / 0.8892 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.8392, allocations: 2.031 kB / 0.8892 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.8393, allocations: 4.031 kB / 0.8892 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.8394, allocations: 12.53 kB / 0.8892 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.8394, allocations: 0 / 0.8892 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.043e-05/0.8395, allocations: 11.52 kB / 0.8892 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.8395, allocations: 5.062 kB / 0.8892 GB, free: 29.11 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.00013/0.8397, allocations: 140.3 kB / 0.8894 GB, free: 28.99 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.155e-05/0.8397, allocations: 21.02 kB / 0.8894 GB, free: 28.98 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003914/0.8401, allocations: 143.4 kB / 0.8895 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.8401, allocations: 1.406 kB / 0.8895 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8401, allocations: 0 / 0.8895 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.8401, allocations: 3.641 kB / 0.8895 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.8404, allocations: 231.9 kB / 0.8898 GB, free: 28.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8404, allocations: 3.938 kB / 0.8898 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.335e-05/0.8405, allocations: 13.64 kB / 0.8898 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.8405, allocations: 0 / 0.8898 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.8406, allocations: 0.75 kB / 0.8898 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.8406, allocations: 2.594 kB / 0.8898 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8406, allocations: 0 / 0.8898 GB, free: 28.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.8409, allocations: 223.9 kB / 0.89 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.602e-05/0.841, allocations: 91.17 kB / 0.8901 GB, free: 28.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.841, allocations: 0.6562 kB / 0.8901 GB, free: 28.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.8411, allocations: 12.56 kB / 0.8901 GB, free: 28.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.8412, allocations: 9.125 kB / 0.8901 GB, free: 28.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.8412, allocations: 0 / 0.8901 GB, free: 28.48 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001871/0.8414, allocations: 190.2 kB / 0.8903 GB, free: 28.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8414, allocations: 0 / 0.8903 GB, free: 28.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003954/0.8418, allocations: 48.55 kB / 0.8903 GB, free: 28.39 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.0007465/0.8426, allocations: 0.8034 MB / 0.8911 GB, free: 27.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002644/0.8428, allocations: 69.91 kB / 0.8912 GB, free: 27.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.8428, allocations: 0 / 0.8912 GB, free: 27.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.843, allocations: 42.55 kB / 0.8912 GB, free: 27.69 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.8433, allocations: 39.31 kB / 0.8913 GB, free: 27.69 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007958/0.8441, allocations: 445.5 kB / 0.8917 GB, free: 27.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/0.8456, allocations: 0.7371 MB / 0.8924 GB, free: 42.74 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.257e-05/0.8457, allocations: 7.594 kB / 0.8924 GB, free: 42.73 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.8457, allocations: 48 kB / 0.8925 GB, free: 42.72 MB / 0.5573 GB Notification: Performance of SimCode: time 9.01e-07/0.8457, allocations: 4 kB / 0.8925 GB, free: 42.72 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.8624, allocations: 4.004 MB / 0.8964 GB, free: 42.42 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.8626, allocations: 210.4 kB / 0.8966 GB, free: 42.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.619, allocations: 0 / 0.8966 GB, free: 42.18 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)