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.0009897/0.0009897, allocations: 92.22 kB / 19.65 MB, free: 276 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.001003/0.001003, allocations: 173 kB / 23.03 MB, free: 1.543 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.9549/0.9549, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.00172/0.00172, allocations: 226.3 kB / 260.2 MB, free: 12.82 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.7248/0.7248, allocations: 138.4 MB / 455.2 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.332e-06/1.332e-06, allocations: 0 / 0.5551 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.327e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002784/0.002807, allocations: 1.767 MB / 0.5568 GB, free: 14.76 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.004214, allocations: 1.133 MB / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.004262, allocations: 4 kB / 0.5579 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004252/0.004687, allocations: 131.4 kB / 0.5581 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.084e-05/0.004768, allocations: 55.67 kB / 0.5581 GB, free: 13.44 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.005209, allocations: 167.3 kB / 0.5583 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.005356, allocations: 115.4 kB / 0.5584 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.005392, allocations: 4 kB / 0.5584 GB, free: 13.16 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.743e-05/0.00547, allocations: 47.83 kB / 0.5584 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.005554, allocations: 47.81 kB / 0.5585 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.00557, allocations: 4 kB / 0.5585 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.005868, allocations: 199.5 kB / 0.5587 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.826e-05/0.005946, allocations: 63.83 kB / 0.5587 GB, free: 12.8 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.005993, allocations: 35.86 kB / 0.5588 GB, free: 12.77 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.006355, allocations: 283.2 kB / 0.559 GB, free: 12.49 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.006358, allocations: 0 / 0.559 GB, free: 12.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.006358, allocations: 0 / 0.559 GB, free: 12.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.006365, allocations: 3.984 kB / 0.5591 GB, free: 12.48 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.0005013/0.006866, allocations: 0.5303 MB / 0.5596 GB, free: 11.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.006903, allocations: 8.75 kB / 0.5596 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.035e-05/0.006954, allocations: 24.84 kB / 0.5596 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.007076, allocations: 167.7 kB / 0.5598 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.007088, allocations: 384 / 0.5598 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.007098, allocations: 4.375 kB / 0.5598 GB, free: 11.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.007231, allocations: 54.94 kB / 0.5598 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.007239, allocations: 12.11 kB / 0.5598 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.007249, allocations: 4.125 kB / 0.5598 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.007256, allocations: 3.938 kB / 0.5598 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.321e-05/0.007289, allocations: 4 kB / 0.5598 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.00764, allocations: 335.7 kB / 0.5602 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.4e-05/0.007694, allocations: 27.06 kB / 0.5602 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.364e-05/0.007718, allocations: 19.73 kB / 0.5602 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.312e-05/0.007771, allocations: 23.98 kB / 0.5602 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.00779, allocations: 41.27 kB / 0.5603 GB, free: 11.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.007791, allocations: 0 / 0.5603 GB, free: 11.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001477/0.007939, allocations: 61.56 kB / 0.5603 GB, free: 11.04 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.007965, allocations: 51.41 kB / 0.5604 GB, free: 10.98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.008131, allocations: 316.3 kB / 0.5607 GB, free: 10.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.00814, allocations: 25.7 kB / 0.5607 GB, free: 10.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.008231, allocations: 190.8 kB / 0.5609 GB, free: 10.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.00825, allocations: 12.06 kB / 0.5609 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.008276, allocations: 27.38 kB / 0.5609 GB, free: 10.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.008392, allocations: 0.5079 MB / 0.5614 GB, free: 9.859 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.008409, allocations: 4 kB / 0.5614 GB, free: 9.855 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.177e-05/0.008421, allocations: 3.938 kB / 0.5614 GB, free: 9.852 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.008453, allocations: 19.69 kB / 0.5614 GB, free: 9.828 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008455, allocations: 0 / 0.5614 GB, free: 9.828 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.22e-05/0.008517, allocations: 61.48 kB / 0.5615 GB, free: 9.762 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.008529, allocations: 4 kB / 0.5615 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.008533, allocations: 0 / 0.5615 GB, free: 9.758 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.008545, allocations: 8.094 kB / 0.5615 GB, free: 9.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.689e-05/0.008602, allocations: 4 kB / 0.5615 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.008606, allocations: 0 / 0.5615 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.577e-05/0.008632, allocations: 7.984 kB / 0.5615 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.008636, allocations: 0 / 0.5615 GB, free: 9.738 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 6.241e-05/0.008699, allocations: 160.5 kB / 0.5617 GB, free: 9.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.008722, allocations: 23.84 kB / 0.5617 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.008834, allocations: 66.64 kB / 0.5618 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.008836, allocations: 0 / 0.5618 GB, free: 9.477 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.008839, allocations: 4 kB / 0.5618 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.008841, allocations: 0 / 0.5618 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.008979, allocations: 192.5 kB / 0.562 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00898, allocations: 0 / 0.562 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.009004, allocations: 11.94 kB / 0.562 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.009006, allocations: 0 / 0.562 GB, free: 9.238 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.009014, allocations: 7.938 kB / 0.562 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.009017, allocations: 7.984 kB / 0.562 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.009018, allocations: 0 / 0.562 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.009128, allocations: 211.8 kB / 0.5622 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.009142, allocations: 15.86 kB / 0.5622 GB, free: 8.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.009156, allocations: 7.938 kB / 0.5622 GB, free: 8.973 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.882e-05/0.009195, allocations: 4 kB / 0.5622 GB, free: 8.969 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.009224, allocations: 3.984 kB / 0.5622 GB, free: 8.965 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.009227, allocations: 4 kB / 0.5622 GB, free: 8.961 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.387e-05/0.009321, allocations: 205.1 kB / 0.5624 GB, free: 8.766 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009321, allocations: 0 / 0.5624 GB, free: 8.766 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.009533, allocations: 79.73 kB / 0.5625 GB, free: 8.688 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.000189/0.009722, allocations: 178.9 kB / 0.5627 GB, free: 8.504 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.087e-05/0.009803, allocations: 23.72 kB / 0.5627 GB, free: 8.477 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.009804, allocations: 0 / 0.5627 GB, free: 8.477 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.215e-05/0.009827, allocations: 23.66 kB / 0.5627 GB, free: 8.449 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.01008, allocations: 44.34 kB / 0.5627 GB, free: 8.402 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.01064, allocations: 311.1 kB / 0.563 GB, free: 8.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.976e-05/0.01069, allocations: 83.31 kB / 0.5631 GB, free: 7.969 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.326e-05/0.01072, allocations: 4 kB / 0.5631 GB, free: 7.965 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.01075, allocations: 16.5 kB / 0.5631 GB, free: 7.949 MB / 490.7 MB Notification: Performance of SimCode: time 7.81e-07/0.01075, allocations: 0 / 0.5631 GB, free: 7.949 MB / 490.7 MB Notification: Performance of Templates: time 0.004366/0.01512, allocations: 2.667 MB / 0.5657 GB, free: 5.348 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.659899290651083]