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 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.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.7549/0.7549, allocations: 140.1 MB / 156 MB, free: 5.164 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.0009796/0.0009801, allocations: 182.5 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.464/1.464, allocations: 205.4 MB / 426.3 MB, free: 8.465 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.0007491/0.0007491, allocations: 94.28 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001689/0.00169, allocations: 265.8 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006982/0.0006985, allocations: 16 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5129/0.5136, allocations: 79.31 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.6549, allocations: 109.2 MB / 0.8461 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.6553, allocations: 83.95 kB / 0.8461 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01228/0.6676, allocations: 4.789 MB / 0.8508 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.916e-06/0.6676, allocations: 0 / 0.8508 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.6676, allocations: 4 kB / 0.8508 GB, free: 12.09 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.0005733/0.6682, allocations: 466.4 kB / 0.8513 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.6683, allocations: 16.03 kB / 0.8513 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.6683, allocations: 20.66 kB / 0.8513 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.6685, allocations: 215.8 kB / 0.8515 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.6685, allocations: 4.375 kB / 0.8515 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.6686, allocations: 384 / 0.8515 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.6688, allocations: 66.22 kB / 0.8516 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.6688, allocations: 192 / 0.8516 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.6688, allocations: 11.94 kB / 0.8516 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.6688, allocations: 4 kB / 0.8516 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.6691, allocations: 75.86 kB / 0.8517 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.6696, allocations: 344.8 kB / 0.852 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.6698, allocations: 74.45 kB / 0.8521 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.6699, allocations: 48.89 kB / 0.8521 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.896e-05/0.67, allocations: 11.98 kB / 0.8521 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.67, allocations: 30.56 kB / 0.8522 GB, free: 10.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.894e-06/0.67, allocations: 3.938 kB / 0.8522 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0004404/0.6704, allocations: 169.3 kB / 0.8523 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.6705, allocations: 51.41 kB / 0.8524 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.6707, allocations: 250.7 kB / 0.8526 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.6708, allocations: 25.7 kB / 0.8526 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.496e-05/0.6709, allocations: 140 kB / 0.8528 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.6709, allocations: 7.906 kB / 0.8528 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.6709, allocations: 4.125 kB / 0.8528 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.671, allocations: 330.8 kB / 0.8531 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.6712, allocations: 35.97 kB / 0.8531 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/0.6713, allocations: 35.97 kB / 0.8532 GB, free: 9.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.6715, allocations: 92.78 kB / 0.8533 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.6715, allocations: 0 / 0.8533 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002758/0.6718, allocations: 125.4 kB / 0.8534 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.6718, allocations: 4 kB / 0.8534 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.6718, allocations: 4 kB / 0.8534 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.6718, allocations: 11.91 kB / 0.8534 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.6719, allocations: 8 kB / 0.8534 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.6719, allocations: 0 / 0.8534 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.737e-05/0.672, allocations: 16.02 kB / 0.8534 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.6721, allocations: 0 / 0.8534 GB, free: 9.215 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.0001227/0.6722, allocations: 141.8 kB / 0.8535 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.6722, allocations: 19.72 kB / 0.8536 GB, free: 9.047 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004119/0.6727, allocations: 146.4 kB / 0.8537 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.6727, allocations: 0 / 0.8537 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6727, allocations: 0 / 0.8537 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6727, allocations: 4 kB / 0.8537 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.6729, allocations: 221.5 kB / 0.8539 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6729, allocations: 4 kB / 0.8539 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.373e-05/0.673, allocations: 11.98 kB / 0.8539 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.673, allocations: 0 / 0.8539 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.6731, allocations: 4.031 kB / 0.8539 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.6731, allocations: 4 kB / 0.8539 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6731, allocations: 0 / 0.8539 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.6734, allocations: 223.2 kB / 0.8542 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.516e-05/0.6735, allocations: 92.83 kB / 0.8542 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.6735, allocations: 4 kB / 0.8543 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.769e-05/0.6736, allocations: 11.98 kB / 0.8543 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.6736, allocations: 4 kB / 0.8543 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.6737, allocations: 0 / 0.8543 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001855/0.6738, allocations: 189.9 kB / 0.8544 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6739, allocations: 0 / 0.8544 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002855/0.6741, allocations: 47.94 kB / 0.8545 GB, free: 8.004 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.0002505/0.6744, allocations: 143.2 kB / 0.8546 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.6747, allocations: 75.95 kB / 0.8547 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6747, allocations: 0 / 0.8547 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.6748, allocations: 39.91 kB / 0.8547 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.6752, allocations: 52.52 kB / 0.8548 GB, free: 7.691 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005917/0.6758, allocations: 360.5 kB / 0.8551 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.6761, allocations: 0.7355 MB / 0.8559 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.493e-05/0.6762, allocations: 7.75 kB / 0.8559 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.6762, allocations: 7.438 kB / 0.8559 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.6762, allocations: 0 / 0.8559 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of Templates: time 0.004996/0.6812, allocations: 2.012 MB / 0.8578 GB, free: 4.539 MB / 0.5261 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)