Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.0008377/0.0008377, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009855/0.0009855, allocations: 173 kB / 23.5 MB, free: 1.055 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 0.9711/0.9711, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.001749/0.001749, allocations: 225.8 kB / 260.5 MB, free: 12.9 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 0.702/0.702, allocations: 138.4 MB / 455.4 MB, free: 1.508 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.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 0.555 GB, free: 0.875 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031e-05/1.132e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.001893/0.001905, allocations: 1.759 MB / 0.5567 GB, free: 15.09 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004964/0.002401, allocations: 454.2 kB / 0.5572 GB, free: 14.65 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.002434, allocations: 4 kB / 0.5572 GB, free: 14.64 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003046/0.002739, allocations: 135.4 kB / 0.5573 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.275e-05/0.002791, allocations: 59.62 kB / 0.5574 GB, free: 14.45 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.002991, allocations: 55.84 kB / 0.5574 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.003097, allocations: 103.4 kB / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.091e-05/0.003128, allocations: 3.984 kB / 0.5575 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.00319, allocations: 51.77 kB / 0.5576 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.946e-05/0.003259, allocations: 51.81 kB / 0.5576 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.003271, allocations: 0 / 0.5576 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.003385, allocations: 71.86 kB / 0.5577 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.003444, allocations: 59.83 kB / 0.5577 GB, free: 14.06 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.003481, allocations: 39.86 kB / 0.5578 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.003661, allocations: 163.4 kB / 0.5579 GB, free: 13.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.003663, allocations: 0 / 0.5579 GB, free: 13.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003664, allocations: 0 / 0.5579 GB, free: 13.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.003668, allocations: 0 / 0.5579 GB, free: 13.86 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.0003992/0.004067, allocations: 0.5033 MB / 0.5584 GB, free: 13.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.0041, allocations: 16.69 kB / 0.5584 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.004136, allocations: 16.84 kB / 0.5585 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.004239, allocations: 167.7 kB / 0.5586 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.004249, allocations: 384 / 0.5586 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.382e-06/0.004255, allocations: 384 / 0.5586 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.004357, allocations: 54.95 kB / 0.5587 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.004363, allocations: 192 / 0.5587 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.004373, allocations: 4.359 kB / 0.5587 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.004381, allocations: 8.125 kB / 0.5587 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.605e-05/0.004407, allocations: 4 kB / 0.5587 GB, free: 13.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.00471, allocations: 323.7 kB / 0.559 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.275e-05/0.004753, allocations: 31.05 kB / 0.559 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.004771, allocations: 7.688 kB / 0.559 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.0048, allocations: 8 kB / 0.559 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.004821, allocations: 41.39 kB / 0.5591 GB, free: 12.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.004821, allocations: 4 kB / 0.5591 GB, free: 12.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001252/0.004947, allocations: 61.47 kB / 0.5591 GB, free: 12.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.558e-05/0.004972, allocations: 51.41 kB / 0.5592 GB, free: 12.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.005139, allocations: 312.3 kB / 0.5595 GB, free: 12.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.316e-06/0.005147, allocations: 25.7 kB / 0.5595 GB, free: 12.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.005222, allocations: 190.9 kB / 0.5597 GB, free: 11.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.005237, allocations: 7.953 kB / 0.5597 GB, free: 11.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.005261, allocations: 19.36 kB / 0.5597 GB, free: 11.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.005378, allocations: 0.5118 MB / 0.5602 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.005391, allocations: 4 kB / 0.5602 GB, free: 11.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.027e-05/0.005401, allocations: 8.125 kB / 0.5602 GB, free: 11.31 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.436e-05/0.005425, allocations: 15.69 kB / 0.5603 GB, free: 11.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.005428, allocations: 3.984 kB / 0.5603 GB, free: 11.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.678e-05/0.005484, allocations: 57.5 kB / 0.5603 GB, free: 11.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.005495, allocations: 7.938 kB / 0.5603 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.005499, allocations: 0 / 0.5603 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.005509, allocations: 0 / 0.5603 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.142e-05/0.005561, allocations: 8 kB / 0.5603 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.005569, allocations: 3.984 kB / 0.5603 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.005598, allocations: 4.094 kB / 0.5603 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.005603, allocations: 4 kB / 0.5603 GB, free: 11.2 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 7.589e-05/0.005679, allocations: 156.6 kB / 0.5605 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.005701, allocations: 19.86 kB / 0.5605 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.385e-05/0.005795, allocations: 66.52 kB / 0.5606 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.005799, allocations: 3.984 kB / 0.5606 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.005802, allocations: 0 / 0.5606 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.005806, allocations: 0 / 0.5606 GB, free: 10.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.005954, allocations: 180.6 kB / 0.5607 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.005956, allocations: 0 / 0.5607 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.14e-05/0.005977, allocations: 16.02 kB / 0.5608 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.005979, allocations: 0 / 0.5608 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.005985, allocations: 0 / 0.5608 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.005987, allocations: 3.938 kB / 0.5608 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.005988, allocations: 0 / 0.5608 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.006095, allocations: 203.8 kB / 0.561 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.006112, allocations: 19.89 kB / 0.561 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.006127, allocations: 0 / 0.561 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.006166, allocations: 7.938 kB / 0.561 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.006202, allocations: 3.938 kB / 0.561 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.006205, allocations: 4.031 kB / 0.561 GB, free: 10.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.006307, allocations: 209.1 kB / 0.5612 GB, free: 10.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006307, allocations: 0 / 0.5612 GB, free: 10.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001729/0.00648, allocations: 35.94 kB / 0.5612 GB, free: 10.22 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.0001318/0.006612, allocations: 127.2 kB / 0.5613 GB, free: 10.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.834e-05/0.00668, allocations: 11.69 kB / 0.5614 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.006681, allocations: 0 / 0.5614 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.78e-05/0.006699, allocations: 11.69 kB / 0.5614 GB, free: 10.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.006955, allocations: 52.52 kB / 0.5614 GB, free: 10 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004991/0.007454, allocations: 311 kB / 0.5617 GB, free: 9.668 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.723e-05/0.007501, allocations: 75.31 kB / 0.5618 GB, free: 9.574 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.534e-05/0.007526, allocations: 4 kB / 0.5618 GB, free: 9.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.707e-05/0.007543, allocations: 12.5 kB / 0.5618 GB, free: 9.559 MB / 490.7 MB Notification: Performance of SimCode: time 4.8e-07/0.007544, allocations: 0 / 0.5618 GB, free: 9.559 MB / 490.7 MB Notification: Performance of Templates: time 0.003329/0.01087, allocations: 1.845 MB / 0.5636 GB, free: 7.773 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7021493050269783]