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: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8057/0.8057, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.0009967/0.0009967, allocations: 181 kB / 191.5 MB, free: 5.75 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.474/1.474, allocations: 223.2 MB / 447.7 MB, free: 6.527 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.0008557/0.0008558, allocations: 92.33 kB / 0.5188 GB, free: 2.887 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001879/0.001879, allocations: 278.3 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.000474, allocations: 12 kB / 0.6929 GB, free: 2.305 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4328, allocations: 82.77 MB / 0.7737 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.5952, allocations: 110.7 MB / 0.8818 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.5955, allocations: 87.83 kB / 0.8819 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01194/0.6075, allocations: 4.9 MB / 0.8867 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6075, allocations: 0 / 0.8867 GB, free: 6.305 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.6075, allocations: 4 kB / 0.8867 GB, free: 6.301 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.000553/0.6081, allocations: 478.3 kB / 0.8871 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6082, allocations: 8.828 kB / 0.8871 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.6082, allocations: 15.81 kB / 0.8872 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.6084, allocations: 222.5 kB / 0.8874 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.6084, allocations: 0 / 0.8874 GB, free: 5.508 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.6084, allocations: 4 kB / 0.8874 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.6087, allocations: 69.66 kB / 0.8874 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.6087, allocations: 0 / 0.8874 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.6087, allocations: 0 / 0.8874 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.6087, allocations: 3.984 kB / 0.8874 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.6089, allocations: 83.92 kB / 0.8875 GB, free: 5.344 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005214/0.6094, allocations: 336.8 kB / 0.8878 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.6096, allocations: 78.47 kB / 0.8879 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.798e-05/0.6097, allocations: 16.05 kB / 0.8879 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.6097, allocations: 30.56 kB / 0.888 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 2.655e-06/0.6097, allocations: 0 / 0.888 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0004455/0.6102, allocations: 165.3 kB / 0.8881 GB, free: 4.656 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.6102, allocations: 59.28 kB / 0.8882 GB, free: 4.586 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.6105, allocations: 230 kB / 0.8884 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.6105, allocations: 29.7 kB / 0.8884 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.6106, allocations: 132.1 kB / 0.8886 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.6106, allocations: 7.906 kB / 0.8886 GB, free: 4.18 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.6106, allocations: 0 / 0.8886 GB, free: 4.18 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6108, allocations: 334.8 kB / 0.8889 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.6109, allocations: 35.97 kB / 0.8889 GB, free: 3.809 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.545e-05/0.611, allocations: 39.97 kB / 0.8889 GB, free: 3.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.6111, allocations: 39.95 kB / 0.889 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6111, allocations: 0 / 0.889 GB, free: 3.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000247/0.6114, allocations: 129.4 kB / 0.8891 GB, free: 3.598 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.6114, allocations: 4 kB / 0.8891 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6114, allocations: 0 / 0.8891 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.6114, allocations: 0 / 0.8891 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.754e-05/0.6115, allocations: 15.92 kB / 0.8891 GB, free: 3.578 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.6115, allocations: 4 kB / 0.8891 GB, free: 3.574 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.941e-05/0.6116, allocations: 12.02 kB / 0.8891 GB, free: 3.562 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.6116, allocations: 4 kB / 0.8891 GB, free: 3.559 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.0001188/0.6118, allocations: 137.8 kB / 0.8893 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.6118, allocations: 15.81 kB / 0.8893 GB, free: 3.398 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.6121, allocations: 146.5 kB / 0.8894 GB, free: 3.254 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.6122, allocations: 0 / 0.8894 GB, free: 3.254 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.6122, allocations: 4 kB / 0.8894 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6122, allocations: 0 / 0.8894 GB, free: 3.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.6124, allocations: 221.5 kB / 0.8897 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.6124, allocations: 0 / 0.8897 GB, free: 2.984 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.495e-05/0.6125, allocations: 8 kB / 0.8897 GB, free: 2.977 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.6125, allocations: 12.02 kB / 0.8897 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.6125, allocations: 0 / 0.8897 GB, free: 2.965 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.6125, allocations: 3.938 kB / 0.8897 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6125, allocations: 0 / 0.8897 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.6129, allocations: 231.2 kB / 0.8899 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.6129, allocations: 88.92 kB / 0.89 GB, free: 2.613 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.613, allocations: 0 / 0.89 GB, free: 2.613 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.6131, allocations: 11.92 kB / 0.89 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.6131, allocations: 4 kB / 0.89 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.6131, allocations: 4 kB / 0.89 GB, free: 2.594 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001647/0.6133, allocations: 189.9 kB / 0.8902 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6133, allocations: 0 / 0.8902 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002795/0.6136, allocations: 43.97 kB / 0.8902 GB, free: 2.367 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.0002593/0.6138, allocations: 147.2 kB / 0.8904 GB, free: 2.211 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002509/0.6141, allocations: 79.83 kB / 0.8904 GB, free: 2.133 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6141, allocations: 0 / 0.8904 GB, free: 2.133 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.6142, allocations: 39.97 kB / 0.8905 GB, free: 2.094 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.6146, allocations: 50.03 kB / 0.8905 GB, free: 2.047 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.6152, allocations: 375.8 kB / 0.8909 GB, free: 1.656 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.6156, allocations: 0.7394 MB / 0.8916 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.938e-05/0.6156, allocations: 8.172 kB / 0.8916 GB, free: 0.8789 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.6156, allocations: 7.438 kB / 0.8916 GB, free: 0.8711 MB / 0.5417 GB Notification: Performance of SimCode: time 2.11e-07/0.6157, allocations: 0 / 0.8916 GB, free: 0.8711 MB / 0.5417 GB Notification: Performance of Templates: time 0.005096/0.6208, allocations: 1.973 MB / 0.8935 GB, free: 14.93 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile (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 & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)