Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.000922/0.000922, allocations: 92.31 kB / 20.19 MB, free: 4.355 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.0009611/0.0009611, allocations: 172.9 kB / 23.49 MB, free: 1.051 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.063/1.063, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.001722/0.001722, allocations: 231 kB / 260.5 MB, free: 12.89 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.7255/0.7255, allocations: 138.4 MB / 455.4 MB, free: 1.555 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.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.555 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.712e-05, allocations: 10.25 kB / 0.555 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002368/0.002395, allocations: 1.774 MB / 0.5568 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.003669, allocations: 1.117 MB / 0.5578 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.003729, allocations: 0 / 0.5578 GB, free: 13.98 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.004098, allocations: 139.4 kB / 0.558 GB, free: 13.85 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.785e-05/0.004156, allocations: 51.69 kB / 0.558 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.004578, allocations: 167.3 kB / 0.5582 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.004726, allocations: 115.4 kB / 0.5583 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.004766, allocations: 4 kB / 0.5583 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.425e-05/0.00484, allocations: 51.81 kB / 0.5583 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.497e-05/0.004925, allocations: 55.8 kB / 0.5584 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.004939, allocations: 4 kB / 0.5584 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.005222, allocations: 191.5 kB / 0.5586 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.909e-05/0.005301, allocations: 59.83 kB / 0.5586 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.482e-05/0.005346, allocations: 35.88 kB / 0.5587 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.005672, allocations: 283.2 kB / 0.5589 GB, free: 12.85 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.005676, allocations: 4 kB / 0.559 GB, free: 12.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.005678, allocations: 4 kB / 0.559 GB, free: 12.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.005683, allocations: 0 / 0.559 GB, free: 12.84 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.0004905/0.006174, allocations: 0.5342 MB / 0.5595 GB, free: 12.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.006214, allocations: 8.75 kB / 0.5595 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.006264, allocations: 16.84 kB / 0.5595 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.006392, allocations: 163.7 kB / 0.5597 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.006405, allocations: 4.312 kB / 0.5597 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.006415, allocations: 4.375 kB / 0.5597 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.006549, allocations: 58.95 kB / 0.5597 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.006558, allocations: 192 / 0.5597 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.006569, allocations: 8.062 kB / 0.5597 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.006577, allocations: 0 / 0.5597 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.913e-05/0.006616, allocations: 7.984 kB / 0.5597 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.007007, allocations: 339.7 kB / 0.5601 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.683e-05/0.007064, allocations: 27.06 kB / 0.5601 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.388e-05/0.007087, allocations: 11.75 kB / 0.5601 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.596e-05/0.007143, allocations: 23.98 kB / 0.5601 GB, free: 11.52 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.007168, allocations: 49.27 kB / 0.5602 GB, free: 11.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.007169, allocations: 0 / 0.5602 GB, free: 11.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001828/0.007352, allocations: 61.55 kB / 0.5602 GB, free: 11.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.007384, allocations: 51.41 kB / 0.5603 GB, free: 11.34 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.007576, allocations: 316.3 kB / 0.5606 GB, free: 11.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.007587, allocations: 25.7 kB / 0.5606 GB, free: 10.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.007677, allocations: 194.8 kB / 0.5608 GB, free: 10.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.007694, allocations: 3.953 kB / 0.5608 GB, free: 10.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.007723, allocations: 19.38 kB / 0.5608 GB, free: 10.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.007853, allocations: 0.5157 MB / 0.5613 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.007871, allocations: 4.125 kB / 0.5613 GB, free: 10.22 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.007885, allocations: 7.938 kB / 0.5613 GB, free: 10.21 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.315e-05/0.007918, allocations: 15.69 kB / 0.5613 GB, free: 10.19 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.00792, allocations: 0 / 0.5613 GB, free: 10.19 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.235e-05/0.007992, allocations: 61.48 kB / 0.5614 GB, free: 10.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.008004, allocations: 8 kB / 0.5614 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.00801, allocations: 3.984 kB / 0.5614 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.008022, allocations: 0 / 0.5614 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.008086, allocations: 4 kB / 0.5614 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.008092, allocations: 8.094 kB / 0.5614 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.00812, allocations: 0 / 0.5614 GB, free: 10.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.008125, allocations: 0 / 0.5614 GB, free: 10.1 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.616e-05/0.008201, allocations: 168.5 kB / 0.5616 GB, free: 9.926 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.008224, allocations: 19.84 kB / 0.5616 GB, free: 9.906 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001295/0.008353, allocations: 70.64 kB / 0.5617 GB, free: 9.832 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.008355, allocations: 3.938 kB / 0.5617 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.008359, allocations: 0 / 0.5617 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.008362, allocations: 0 / 0.5617 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.008523, allocations: 188.5 kB / 0.5619 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.008526, allocations: 7.984 kB / 0.5619 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.008555, allocations: 8 kB / 0.5619 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.008557, allocations: 0 / 0.5619 GB, free: 9.594 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.008564, allocations: 3.938 kB / 0.5619 GB, free: 9.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.008566, allocations: 4 kB / 0.5619 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008567, allocations: 0 / 0.5619 GB, free: 9.586 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.008681, allocations: 207.8 kB / 0.5621 GB, free: 9.363 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.008699, allocations: 23.86 kB / 0.5621 GB, free: 9.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.008714, allocations: 3.938 kB / 0.5621 GB, free: 9.336 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.063e-05/0.008755, allocations: 3.984 kB / 0.5621 GB, free: 9.332 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.008787, allocations: 8 kB / 0.5621 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.008791, allocations: 0 / 0.5621 GB, free: 9.324 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.008892, allocations: 213.1 kB / 0.5623 GB, free: 9.121 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008892, allocations: 0 / 0.5623 GB, free: 9.121 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002342/0.009126, allocations: 71.75 kB / 0.5624 GB, free: 9.051 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 (3): * Single equations (assignments): 3 * 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.0002191/0.009345, allocations: 182.9 kB / 0.5626 GB, free: 8.863 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.888e-05/0.009434, allocations: 23.61 kB / 0.5626 GB, free: 8.836 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.009435, allocations: 0 / 0.5626 GB, free: 8.836 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.077e-05/0.009456, allocations: 11.69 kB / 0.5626 GB, free: 8.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004058/0.009862, allocations: 52.39 kB / 0.5626 GB, free: 8.766 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008165/0.01068, allocations: 307 kB / 0.5629 GB, free: 8.438 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.918e-05/0.01075, allocations: 79.31 kB / 0.563 GB, free: 8.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.12e-05/0.0108, allocations: 12.16 kB / 0.563 GB, free: 8.328 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.01084, allocations: 16.5 kB / 0.563 GB, free: 8.312 MB / 490.7 MB Notification: Performance of SimCode: time 1.042e-06/0.01084, allocations: 0 / 0.563 GB, free: 8.312 MB / 490.7 MB Notification: Performance of Templates: time 0.004908/0.01574, allocations: 2.452 MB / 0.5654 GB, free: 5.922 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.770541548030451]