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 1.021/1.021, allocations: 141.8 MB / 149.3 MB, free: 9.246 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.001748/0.001748, allocations: 175.6 kB / 182.2 MB, free: 9.492 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.652/1.652, allocations: 221.5 MB / 436.4 MB, free: 13.38 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.001096/0.001096, allocations: 96.03 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001741/0.001741, allocations: 271.2 kB / 0.5889 GB, free: 54.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.977e-05, allocations: 4 kB / 0.6765 GB, free: 12.89 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5256/0.5257, allocations: 82.78 MB / 0.7574 GB, free: 32.07 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.6613, allocations: 109.9 MB / 0.8647 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.6616, allocations: 91.81 kB / 0.8648 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01168/0.6732, allocations: 4.841 MB / 0.8696 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6733, allocations: 0 / 0.8696 GB, free: 12.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.6733, allocations: 4 kB / 0.8696 GB, free: 12.98 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.0004278/0.6737, allocations: 434 kB / 0.87 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.6738, allocations: 11.97 kB / 0.87 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.115e-05/0.6738, allocations: 19.72 kB / 0.87 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.674, allocations: 214.6 kB / 0.8702 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.674, allocations: 0 / 0.8702 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.6741, allocations: 0 / 0.8702 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001202/0.6742, allocations: 43.97 kB / 0.8702 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.561e-05/0.6743, allocations: 57.61 kB / 0.8703 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6743, allocations: 0 / 0.8703 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.6743, allocations: 0 / 0.8703 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.6743, allocations: 4 kB / 0.8703 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.6748, allocations: 321.3 kB / 0.8706 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.398e-05/0.6749, allocations: 58.48 kB / 0.8707 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.675, allocations: 28.91 kB / 0.8707 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.293e-05/0.675, allocations: 11.98 kB / 0.8707 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.6751, allocations: 34.56 kB / 0.8707 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.6751, allocations: 0 / 0.8707 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002321/0.6753, allocations: 93.38 kB / 0.8708 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.6754, allocations: 59.44 kB / 0.8709 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.6756, allocations: 206.3 kB / 0.8711 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.6756, allocations: 29.7 kB / 0.8711 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.6757, allocations: 136.1 kB / 0.8712 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.6757, allocations: 11.83 kB / 0.8713 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.6757, allocations: 0 / 0.8713 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.6758, allocations: 334.8 kB / 0.8716 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.396e-05/0.6759, allocations: 19.98 kB / 0.8716 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.266e-05/0.6759, allocations: 27.98 kB / 0.8716 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.676, allocations: 23.97 kB / 0.8716 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.676, allocations: 0 / 0.8716 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000134/0.6761, allocations: 89.48 kB / 0.8717 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.6762, allocations: 5.406 kB / 0.8717 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.6762, allocations: 0.7812 kB / 0.8717 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.6762, allocations: 3.984 kB / 0.8717 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.558e-05/0.6763, allocations: 15.98 kB / 0.8717 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.6763, allocations: 4.094 kB / 0.8718 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.247e-05/0.6764, allocations: 7.984 kB / 0.8718 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.6764, allocations: 4 kB / 0.8718 GB, free: 10.52 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 () * 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 7.782e-05/0.6765, allocations: 105.6 kB / 0.8719 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.6766, allocations: 19.72 kB / 0.8719 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.6768, allocations: 110.8 kB / 0.872 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6768, allocations: 0 / 0.872 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.6768, allocations: 4.031 kB / 0.872 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.6768, allocations: 3.984 kB / 0.872 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.677, allocations: 202.1 kB / 0.8722 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.677, allocations: 0 / 0.8722 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/0.6771, allocations: 15.98 kB / 0.8722 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.6771, allocations: 0 / 0.8722 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-06/0.6771, allocations: 0 / 0.8722 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.6771, allocations: 3.906 kB / 0.8722 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6771, allocations: 0 / 0.8722 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.6773, allocations: 191.3 kB / 0.8724 GB, free: 9.809 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.6774, allocations: 96.78 kB / 0.8725 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.6774, allocations: 4 kB / 0.8725 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.913e-05/0.6775, allocations: 11.92 kB / 0.8725 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.6776, allocations: 4 kB / 0.8725 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.6776, allocations: 0 / 0.8725 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001448/0.6777, allocations: 182 kB / 0.8727 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6777, allocations: 0 / 0.8727 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002555/0.678, allocations: 43.94 kB / 0.8727 GB, free: 9.457 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 () * 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.0002533/0.6783, allocations: 147.2 kB / 0.8729 GB, free: 9.305 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.6784, allocations: 43.98 kB / 0.8729 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6784, allocations: 0 / 0.8729 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.264e-05/0.6784, allocations: 23.94 kB / 0.8729 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.6788, allocations: 32.52 kB / 0.873 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.6792, allocations: 221.4 kB / 0.8732 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.6795, allocations: 0.7391 MB / 0.8739 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.327e-05/0.6796, allocations: 4.188 kB / 0.8739 GB, free: 8.195 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.6796, allocations: 7.438 kB / 0.8739 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.6796, allocations: 0 / 0.8739 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of Templates: time 0.004173/0.6838, allocations: 1.661 MB / 0.8755 GB, free: 6.551 MB / 0.5417 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)