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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002045/0.002045, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003394/0.003394, allocations: 236.7 kB / 259.8 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.171/1.171, allocations: 138.4 MB / 454.7 MB, free: 1.453 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.5543 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.256e-05, allocations: 5.547 kB / 0.5543 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.004416/0.004448, allocations: 1.724 MB / 0.556 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.005683, allocations: 0.4942 MB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.005729, allocations: 0 / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006371/0.006366, allocations: 135.3 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.006514, allocations: 59.61 kB / 0.5567 GB, free: 14.42 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.006882, allocations: 71.7 kB / 0.5567 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.007092, allocations: 99.5 kB / 0.5568 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.007138, allocations: 11.92 kB / 0.5568 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.007254, allocations: 43.89 kB / 0.5569 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.007406, allocations: 51.81 kB / 0.5569 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.007435, allocations: 7.984 kB / 0.5569 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.007707, allocations: 67.92 kB / 0.557 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.007844, allocations: 59.83 kB / 0.5571 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.896e-05/0.007923, allocations: 35.86 kB / 0.5571 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.008391, allocations: 191.3 kB / 0.5573 GB, free: 13.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.008395, allocations: 3.938 kB / 0.5573 GB, free: 13.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008396, allocations: 0 / 0.5573 GB, free: 13.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.008402, allocations: 0 / 0.5573 GB, free: 13.79 MB / 490.7 MB 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.0009968/0.009398, allocations: 0.5146 MB / 0.5578 GB, free: 13.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.009444, allocations: 8.75 kB / 0.5578 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.174e-05/0.009516, allocations: 16.84 kB / 0.5578 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.009785, allocations: 171.6 kB / 0.558 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.009799, allocations: 384 / 0.558 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.009814, allocations: 4.375 kB / 0.558 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.01002, allocations: 42.25 kB / 0.558 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.01003, allocations: 192 / 0.558 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.01004, allocations: 384 / 0.558 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.01005, allocations: 8.109 kB / 0.558 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.01027, allocations: 31.92 kB / 0.5581 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.01101, allocations: 319.8 kB / 0.5584 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.0112, allocations: 43.05 kB / 0.5584 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.01132, allocations: 19.73 kB / 0.5584 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.307e-05/0.01138, allocations: 8 kB / 0.5584 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.167e-05/0.01144, allocations: 37.39 kB / 0.5585 GB, free: 12.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.01144, allocations: 0 / 0.5585 GB, free: 12.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004745/0.01191, allocations: 93.53 kB / 0.5586 GB, free: 12.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.601e-05/0.01198, allocations: 55.41 kB / 0.5586 GB, free: 12.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005542/0.01253, allocations: 320.3 kB / 0.5589 GB, free: 11.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.01256, allocations: 25.7 kB / 0.5589 GB, free: 11.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.01281, allocations: 190.8 kB / 0.5591 GB, free: 11.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.01284, allocations: 7.891 kB / 0.5591 GB, free: 11.72 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.01291, allocations: 23.38 kB / 0.5591 GB, free: 11.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004468/0.01335, allocations: 0.504 MB / 0.5596 GB, free: 11.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.01346, allocations: 15.98 kB / 0.5597 GB, free: 11.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.01356, allocations: 11.98 kB / 0.5597 GB, free: 11.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.01375, allocations: 35.73 kB / 0.5597 GB, free: 11.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01375, allocations: 3.938 kB / 0.5597 GB, free: 11.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003211/0.01407, allocations: 69.59 kB / 0.5598 GB, free: 11.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.0141, allocations: 7.938 kB / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.0141, allocations: 0 / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.01413, allocations: 4 kB / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.01424, allocations: 4 kB / 0.5598 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.01425, allocations: 3.984 kB / 0.5598 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.377e-05/0.01434, allocations: 8.031 kB / 0.5598 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.01435, allocations: 0 / 0.5598 GB, free: 11 MB / 490.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.01453, allocations: 152.6 kB / 0.5599 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.619e-05/0.01461, allocations: 23.86 kB / 0.56 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.01497, allocations: 94.42 kB / 0.5601 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01497, allocations: 0 / 0.5601 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01498, allocations: 0 / 0.5601 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01498, allocations: 0 / 0.5601 GB, free: 10.72 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.0154, allocations: 184.6 kB / 0.5602 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01541, allocations: 4.031 kB / 0.5602 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.533e-05/0.01548, allocations: 4 kB / 0.5602 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.01549, allocations: 3.984 kB / 0.5602 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.01551, allocations: 4 kB / 0.5602 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.01551, allocations: 3.938 kB / 0.5602 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01551, allocations: 0 / 0.5602 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004282/0.01594, allocations: 223.7 kB / 0.5605 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.01599, allocations: 11.91 kB / 0.5605 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.01603, allocations: 0 / 0.5605 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.0162, allocations: 15.95 kB / 0.5605 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.01625, allocations: 0 / 0.5605 GB, free: 10.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.01625, allocations: 0 / 0.5605 GB, free: 10.22 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003383/0.01659, allocations: 213.1 kB / 0.5607 GB, free: 10.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.01659, allocations: 0 / 0.5607 GB, free: 10.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005188/0.01711, allocations: 39.92 kB / 0.5607 GB, free: 9.977 MB / 490.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000334/0.01744, allocations: 131.1 kB / 0.5609 GB, free: 9.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.01773, allocations: 35.67 kB / 0.5609 GB, free: 9.801 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.01773, allocations: 64 / 0.5609 GB, free: 9.801 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.01786, allocations: 23.67 kB / 0.5609 GB, free: 9.773 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000821/0.01868, allocations: 56.27 kB / 0.561 GB, free: 9.715 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009461/0.01963, allocations: 295.2 kB / 0.5612 GB, free: 9.398 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.01986, allocations: 114.9 kB / 0.5614 GB, free: 9.262 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.259e-05/0.01993, allocations: 7.984 kB / 0.5614 GB, free: 9.254 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/0.01998, allocations: 16.5 kB / 0.5614 GB, free: 9.238 MB / 490.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01998, allocations: 0 / 0.5614 GB, free: 9.238 MB / 490.7 MB Notification: Performance of Templates: time 0.01009/0.03007, allocations: 1.862 MB / 0.5632 GB, free: 7.43 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.893294238951057]