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: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8939/0.8939, allocations: 143.4 MB / 158.3 MB, free: 5.824 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.001003/0.001003, allocations: 183.6 kB / 191.5 MB, free: 5.781 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.82 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.0008363/0.000836, allocations: 92.27 kB / 0.5188 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001706/0.001706, allocations: 263.3 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004371/0.0004371, allocations: 13.59 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2034, allocations: 82.79 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5566/0.76, allocations: 110.7 MB / 0.8818 GB, free: 32.03 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.7603, allocations: 88.45 kB / 0.8819 GB, free: 32.03 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01128/0.7716, allocations: 4.905 MB / 0.8867 GB, free: 31.13 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7717, allocations: 4 kB / 0.8867 GB, free: 31.13 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.7717, allocations: 0 / 0.8867 GB, free: 31.13 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.0004635/0.7722, allocations: 479.5 kB / 0.8871 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.7722, allocations: 9.422 kB / 0.8871 GB, free: 30.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.7723, allocations: 16.22 kB / 0.8872 GB, free: 30.69 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.7724, allocations: 210.8 kB / 0.8874 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.7724, allocations: 2.656 kB / 0.8874 GB, free: 30.47 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.7724, allocations: 4 kB / 0.8874 GB, free: 30.46 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.7726, allocations: 72.05 kB / 0.8874 GB, free: 30.43 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.7726, allocations: 0 / 0.8874 GB, free: 30.43 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.7727, allocations: 0.7969 kB / 0.8874 GB, free: 30.43 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.7727, allocations: 2.656 kB / 0.8874 GB, free: 30.43 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.7729, allocations: 77.45 kB / 0.8875 GB, free: 30.43 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/0.7734, allocations: 347 kB / 0.8878 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.7736, allocations: 82.22 kB / 0.8879 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.7736, allocations: 9 kB / 0.8879 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.7736, allocations: 31.12 kB / 0.888 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.7737, allocations: 0 / 0.888 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0004275/0.7741, allocations: 166.7 kB / 0.8881 GB, free: 30.04 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.7741, allocations: 52.78 kB / 0.8882 GB, free: 29.98 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.7744, allocations: 223 kB / 0.8884 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.7744, allocations: 34.95 kB / 0.8884 GB, free: 29.84 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.7745, allocations: 137.9 kB / 0.8885 GB, free: 29.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.7745, allocations: 10.56 kB / 0.8886 GB, free: 29.75 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.7745, allocations: 0 / 0.8886 GB, free: 29.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.05e-05/0.7746, allocations: 335.1 kB / 0.8889 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.7747, allocations: 35.05 kB / 0.8889 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-05/0.7748, allocations: 43.92 kB / 0.8889 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.905e-05/0.7749, allocations: 34.23 kB / 0.889 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7749, allocations: 1.281 kB / 0.889 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002495/0.7752, allocations: 130.3 kB / 0.8891 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.7752, allocations: 10.03 kB / 0.8891 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.7752, allocations: 0 / 0.8891 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.7752, allocations: 0.75 kB / 0.8891 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/0.7753, allocations: 13.28 kB / 0.8891 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7753, allocations: 0 / 0.8891 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.391e-05/0.7754, allocations: 12.94 kB / 0.8891 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.7754, allocations: 8.078 kB / 0.8891 GB, free: 29.37 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 8.88e-05/0.7755, allocations: 137.2 kB / 0.8893 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.7756, allocations: 15.53 kB / 0.8893 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.7759, allocations: 145.8 kB / 0.8894 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.7759, allocations: 1.188 kB / 0.8894 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.7759, allocations: 0.6562 kB / 0.8894 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.776, allocations: 0 / 0.8894 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.7762, allocations: 221.9 kB / 0.8896 GB, free: 29.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7762, allocations: 1.375 kB / 0.8896 GB, free: 29.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.785e-05/0.7762, allocations: 15.62 kB / 0.8897 GB, free: 29.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7763, allocations: 1.312 kB / 0.8897 GB, free: 29.01 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.7763, allocations: 4.828 kB / 0.8897 GB, free: 29.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.7763, allocations: 1.375 kB / 0.8897 GB, free: 29.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7763, allocations: 0 / 0.8897 GB, free: 29.01 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.7766, allocations: 228.4 kB / 0.8899 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.113e-05/0.7766, allocations: 88.59 kB / 0.89 GB, free: 28.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.7767, allocations: 4.75 kB / 0.89 GB, free: 28.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.537e-05/0.7768, allocations: 8.312 kB / 0.89 GB, free: 28.76 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/0.7768, allocations: 4.375 kB / 0.89 GB, free: 28.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.7768, allocations: 3.609 kB / 0.89 GB, free: 28.76 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001564/0.777, allocations: 187.9 kB / 0.8902 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.022e-06/0.777, allocations: 0 / 0.8902 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003054/0.7773, allocations: 47.14 kB / 0.8902 GB, free: 28.67 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.0002435/0.7776, allocations: 151.5 kB / 0.8904 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.7778, allocations: 81.38 kB / 0.8904 GB, free: 28.56 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7778, allocations: 2.938 kB / 0.8904 GB, free: 28.56 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.575e-05/0.7779, allocations: 38.75 kB / 0.8905 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.7782, allocations: 44.34 kB / 0.8905 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.7788, allocations: 372.7 kB / 0.8909 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.779, allocations: 0.7425 MB / 0.8916 GB, free: 27.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.989e-05/0.779, allocations: 2.688 kB / 0.8916 GB, free: 27.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.779, allocations: 10.72 kB / 0.8916 GB, free: 27.63 MB / 0.5417 GB Notification: Performance of SimCode: time 1.082e-06/0.779, allocations: 0 / 0.8916 GB, free: 27.63 MB / 0.5417 GB Notification: Performance of Templates: time 0.004873/0.7839, allocations: 1.978 MB / 0.8935 GB, free: 27.48 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile (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 & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)