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.001814/0.001814, allocations: 88.72 kB / 19.44 MB, free: 484 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.002117/0.002117, allocations: 161.7 kB / 22.75 MB, free: 1.812 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.519/1.519, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.002625/0.002625, allocations: 230.2 kB / 259.8 MB, free: 12.86 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.116/1.116, allocations: 138.4 MB / 454.7 MB, free: 1.488 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.393e-06/1.393e-06, allocations: 0 / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.823e-05, allocations: 5.969 kB / 0.5543 GB, free: 0.875 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.003066/0.003094, allocations: 1.701 MB / 0.556 GB, free: 15.16 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007437/0.003838, allocations: 418.3 kB / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.00387, allocations: 0 / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004379/0.004308, allocations: 143.3 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 9.357e-05/0.004401, allocations: 55.67 kB / 0.5566 GB, free: 14.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.004677, allocations: 63.73 kB / 0.5566 GB, free: 14.49 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.004845, allocations: 103.4 kB / 0.5567 GB, free: 14.39 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.004889, allocations: 4 kB / 0.5567 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.004979, allocations: 43.88 kB / 0.5568 GB, free: 14.34 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.00508, allocations: 47.81 kB / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.005094, allocations: 0 / 0.5568 GB, free: 14.29 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001833/0.005278, allocations: 79.84 kB / 0.5569 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.306e-05/0.005371, allocations: 55.83 kB / 0.5569 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.52e-05/0.005436, allocations: 35.94 kB / 0.557 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.005732, allocations: 183.3 kB / 0.5571 GB, free: 13.95 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.005737, allocations: 3.984 kB / 0.5572 GB, free: 13.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.005738, allocations: 0 / 0.5572 GB, free: 13.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.005742, allocations: 4 kB / 0.5572 GB, free: 13.94 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.0006625/0.006405, allocations: 412.9 kB / 0.5575 GB, free: 13.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.006444, allocations: 8.75 kB / 0.5576 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.919e-05/0.006503, allocations: 20.84 kB / 0.5576 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.006685, allocations: 160.9 kB / 0.5577 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.006697, allocations: 384 / 0.5577 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.006706, allocations: 4.375 kB / 0.5577 GB, free: 13.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001942/0.0069, allocations: 54.23 kB / 0.5578 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.006907, allocations: 192 / 0.5578 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.00692, allocations: 4.375 kB / 0.5578 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.006926, allocations: 4.125 kB / 0.5578 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.007119, allocations: 43.89 kB / 0.5578 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.007606, allocations: 256.5 kB / 0.5581 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.007755, allocations: 50.55 kB / 0.5581 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.007857, allocations: 24.91 kB / 0.5582 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.007891, allocations: 4 kB / 0.5582 GB, free: 12.81 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.007926, allocations: 30.56 kB / 0.5582 GB, free: 12.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.007926, allocations: 0 / 0.5582 GB, free: 12.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004237/0.00835, allocations: 117.5 kB / 0.5583 GB, free: 12.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.0084, allocations: 59.44 kB / 0.5584 GB, free: 12.58 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003129/0.008712, allocations: 249.9 kB / 0.5586 GB, free: 12.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.008734, allocations: 25.7 kB / 0.5586 GB, free: 12.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.008852, allocations: 144 kB / 0.5588 GB, free: 12.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.008872, allocations: 7.953 kB / 0.5588 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.008909, allocations: 13.72 kB / 0.5588 GB, free: 12.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.0091, allocations: 334.8 kB / 0.5591 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.0092, allocations: 19.98 kB / 0.5591 GB, free: 11.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.53e-05/0.009296, allocations: 23.97 kB / 0.5591 GB, free: 11.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.009472, allocations: 44.77 kB / 0.5592 GB, free: 11.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.009474, allocations: 0 / 0.5592 GB, free: 11.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002491/0.009723, allocations: 89.56 kB / 0.5593 GB, free: 11.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.00974, allocations: 11.94 kB / 0.5593 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.009744, allocations: 0 / 0.5593 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.009762, allocations: 4.094 kB / 0.5593 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.009848, allocations: 7.984 kB / 0.5593 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.009852, allocations: 4 kB / 0.5593 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.316e-05/0.009925, allocations: 7.984 kB / 0.5593 GB, free: 11.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.009933, allocations: 7.938 kB / 0.5593 GB, free: 11.56 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.0001241/0.01006, allocations: 129.8 kB / 0.5594 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.0101, allocations: 27.84 kB / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.0104, allocations: 106.5 kB / 0.5596 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.0104, allocations: 0 / 0.5596 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01041, allocations: 0 / 0.5596 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.01041, allocations: 0 / 0.5596 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.01062, allocations: 149.3 kB / 0.5597 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01062, allocations: 0 / 0.5597 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.01069, allocations: 11.98 kB / 0.5597 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01069, allocations: 0 / 0.5597 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.0107, allocations: 0 / 0.5597 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.0107, allocations: 3.938 kB / 0.5597 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.0107, allocations: 3.984 kB / 0.5597 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.01102, allocations: 199.3 kB / 0.5599 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.889e-05/0.01104, allocations: 15.89 kB / 0.5599 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.01107, allocations: 0 / 0.5599 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.01117, allocations: 7.938 kB / 0.5599 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.01121, allocations: 3.984 kB / 0.5599 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.01122, allocations: 4 kB / 0.5599 GB, free: 10.85 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001999/0.01142, allocations: 185.2 kB / 0.5601 GB, free: 10.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01142, allocations: 0 / 0.5601 GB, free: 10.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.0117, allocations: 43.95 kB / 0.5602 GB, free: 10.63 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.0002206/0.01192, allocations: 119.2 kB / 0.5603 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002486/0.01217, allocations: 43.95 kB / 0.5603 GB, free: 10.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.01217, allocations: 0 / 0.5603 GB, free: 10.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.01228, allocations: 27.92 kB / 0.5603 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.01276, allocations: 52.52 kB / 0.5604 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.0134, allocations: 321.4 kB / 0.5607 GB, free: 10.03 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.01365, allocations: 122.9 kB / 0.5608 GB, free: 9.895 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.572e-05/0.01369, allocations: 0 / 0.5608 GB, free: 9.895 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.01372, allocations: 12.5 kB / 0.5608 GB, free: 9.883 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01372, allocations: 0 / 0.5608 GB, free: 9.883 MB / 490.7 MB Notification: Performance of Templates: time 0.005548/0.01926, allocations: 1.851 MB / 0.5626 GB, free: 8.098 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.577735578990541]