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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7627/0.7627, allocations: 140.1 MB / 156 MB, free: 5.156 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 182.6 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 426.4 MB, free: 8.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009925/0.0009924, allocations: 101.4 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001873/0.001873, allocations: 281.1 kB / 0.5729 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004332/0.0004331, allocations: 16 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3382, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.4668, allocations: 109.2 MB / 0.8461 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.4671, allocations: 83.94 kB / 0.8461 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01203/0.4791, allocations: 4.8 MB / 0.8508 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.056e-06/0.4792, allocations: 0 / 0.8508 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.4792, allocations: 4 kB / 0.8508 GB, free: 12.06 MB / 0.5261 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.0006016/0.4798, allocations: 474.4 kB / 0.8513 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4799, allocations: 12.03 kB / 0.8513 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.4799, allocations: 20.66 kB / 0.8513 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.4801, allocations: 211.8 kB / 0.8515 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.417e-06/0.4801, allocations: 384 / 0.8515 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.4801, allocations: 4.359 kB / 0.8515 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.4803, allocations: 78.22 kB / 0.8516 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.4804, allocations: 4.125 kB / 0.8516 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.4804, allocations: 3.938 kB / 0.8516 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4804, allocations: 0 / 0.8516 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.4806, allocations: 79.92 kB / 0.8517 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/0.4812, allocations: 336.8 kB / 0.852 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.4813, allocations: 86.45 kB / 0.8521 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.4814, allocations: 40.89 kB / 0.8521 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.4815, allocations: 8 kB / 0.8521 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.4815, allocations: 38.48 kB / 0.8522 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.4815, allocations: 0 / 0.8522 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0004126/0.4819, allocations: 161.3 kB / 0.8523 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.482, allocations: 55.39 kB / 0.8524 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.4822, allocations: 254.8 kB / 0.8526 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.4823, allocations: 29.7 kB / 0.8526 GB, free: 10 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/0.4824, allocations: 136.1 kB / 0.8528 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.4824, allocations: 7.906 kB / 0.8528 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.4824, allocations: 0 / 0.8528 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4825, allocations: 330.8 kB / 0.8531 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-05/0.4826, allocations: 35.97 kB / 0.8531 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.805e-05/0.4827, allocations: 43.91 kB / 0.8532 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.4829, allocations: 80.8 kB / 0.8532 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4829, allocations: 8.047 kB / 0.8533 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000252/0.4832, allocations: 117.4 kB / 0.8534 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4832, allocations: 8 kB / 0.8534 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4832, allocations: 0 / 0.8534 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.4832, allocations: 3.938 kB / 0.8534 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.997e-05/0.4833, allocations: 20.02 kB / 0.8534 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.4834, allocations: 0 / 0.8534 GB, free: 9.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.834e-05/0.4834, allocations: 11.98 kB / 0.8534 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.4835, allocations: 4 kB / 0.8534 GB, free: 9.191 MB / 0.5261 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.0001124/0.4836, allocations: 141.7 kB / 0.8535 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.4836, allocations: 19.72 kB / 0.8536 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.484, allocations: 142.4 kB / 0.8537 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.484, allocations: 0 / 0.8537 GB, free: 8.875 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.484, allocations: 4 kB / 0.8537 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.484, allocations: 0 / 0.8537 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.4842, allocations: 229.5 kB / 0.8539 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4842, allocations: 4.031 kB / 0.8539 GB, free: 8.594 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.095e-05/0.4843, allocations: 8 kB / 0.8539 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4843, allocations: 0 / 0.8539 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.4843, allocations: 7.984 kB / 0.8539 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4843, allocations: 4 kB / 0.8539 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4843, allocations: 0 / 0.8539 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.4846, allocations: 223.2 kB / 0.8542 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.4847, allocations: 92.83 kB / 0.8543 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.4847, allocations: 4 kB / 0.8543 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.4848, allocations: 7.984 kB / 0.8543 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.4848, allocations: 4 kB / 0.8543 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.4848, allocations: 8.031 kB / 0.8543 GB, free: 8.207 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001531/0.485, allocations: 185.9 kB / 0.8545 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.485, allocations: 0 / 0.8545 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002725/0.4853, allocations: 51.94 kB / 0.8545 GB, free: 7.973 MB / 0.5261 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.0002566/0.4856, allocations: 147.1 kB / 0.8546 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.4858, allocations: 67.95 kB / 0.8547 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.4858, allocations: 0 / 0.8547 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.49e-05/0.4859, allocations: 47.97 kB / 0.8548 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.4863, allocations: 44.44 kB / 0.8548 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005905/0.4869, allocations: 360.6 kB / 0.8551 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.4872, allocations: 0.7332 MB / 0.8559 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.291e-05/0.4873, allocations: 15.72 kB / 0.8559 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.239e-05/0.4873, allocations: 11.44 kB / 0.8559 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of SimCode: time 3.81e-07/0.4873, allocations: 7.938 kB / 0.8559 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of Templates: time 0.004714/0.4921, allocations: 1.999 MB / 0.8578 GB, free: 4.512 MB / 0.5261 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)