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.00459/0.00459, allocations: 93.06 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.00184/0.00184, allocations: 165 kB / 23.01 MB, free: 1.547 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.103/1.103, allocations: 177.1 MB / 203.4 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.002542/0.002542, allocations: 234 kB / 260.2 MB, free: 12.83 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.7341/0.7341, allocations: 138.4 MB / 455.2 MB, free: 1.523 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.342e-06/1.342e-06, allocations: 0 / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.669e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002324/0.002351, allocations: 1.778 MB / 0.5568 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005869/0.002937, allocations: 470.1 kB / 0.5573 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.853e-05/0.002976, allocations: 4 kB / 0.5573 GB, free: 14.28 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.003337, allocations: 127.4 kB / 0.5574 GB, free: 14.15 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.663e-05/0.003404, allocations: 55.67 kB / 0.5574 GB, free: 14.1 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002443/0.003648, allocations: 63.8 kB / 0.5575 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.003768, allocations: 103.4 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.003805, allocations: 3.984 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.003871, allocations: 47.83 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.63e-05/0.003948, allocations: 51.81 kB / 0.5577 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.003961, allocations: 0 / 0.5577 GB, free: 13.83 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.004098, allocations: 79.78 kB / 0.5578 GB, free: 13.75 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.277e-05/0.004171, allocations: 59.83 kB / 0.5578 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.97e-05/0.00421, allocations: 35.88 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.004418, allocations: 155.4 kB / 0.558 GB, free: 13.51 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.004422, allocations: 3.984 kB / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.004423, allocations: 4 kB / 0.558 GB, free: 13.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.004428, allocations: 0 / 0.558 GB, free: 13.5 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.0004361/0.004864, allocations: 0.5033 MB / 0.5585 GB, free: 12.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.004901, allocations: 12.69 kB / 0.5585 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.004945, allocations: 20.84 kB / 0.5586 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.005051, allocations: 163.7 kB / 0.5587 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.005061, allocations: 384 / 0.5587 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.005073, allocations: 4.375 kB / 0.5587 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.00519, allocations: 50.95 kB / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.005199, allocations: 192 / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.005208, allocations: 4.375 kB / 0.5588 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.005216, allocations: 4.125 kB / 0.5588 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.717e-05/0.005243, allocations: 4 kB / 0.5588 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.005614, allocations: 331.7 kB / 0.5591 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.224e-05/0.005666, allocations: 31.06 kB / 0.5591 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.195e-05/0.005688, allocations: 7.688 kB / 0.5591 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.26e-05/0.005731, allocations: 8.047 kB / 0.5591 GB, free: 12.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.005752, allocations: 37.39 kB / 0.5592 GB, free: 12.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.005753, allocations: 0 / 0.5592 GB, free: 12.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001522/0.005906, allocations: 65.48 kB / 0.5592 GB, free: 12.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.005934, allocations: 51.41 kB / 0.5593 GB, free: 12.07 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.006119, allocations: 312.3 kB / 0.5596 GB, free: 11.74 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.006129, allocations: 25.7 kB / 0.5596 GB, free: 11.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.688e-05/0.006216, allocations: 194.8 kB / 0.5598 GB, free: 11.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.006233, allocations: 3.953 kB / 0.5598 GB, free: 11.51 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.006266, allocations: 19.38 kB / 0.5598 GB, free: 11.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.006395, allocations: 0.5157 MB / 0.5603 GB, free: 10.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.00641, allocations: 3.938 kB / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.043e-05/0.00642, allocations: 4 kB / 0.5603 GB, free: 10.95 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/0.006449, allocations: 15.88 kB / 0.5603 GB, free: 10.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.006451, allocations: 0 / 0.5603 GB, free: 10.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.653e-05/0.006518, allocations: 61.5 kB / 0.5604 GB, free: 10.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.006533, allocations: 11.92 kB / 0.5604 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.006538, allocations: 0 / 0.5604 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.006553, allocations: 0 / 0.5604 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.714e-05/0.00662, allocations: 12 kB / 0.5604 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.006625, allocations: 0 / 0.5604 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.006651, allocations: 0 / 0.5604 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.006656, allocations: 4 kB / 0.5604 GB, free: 10.84 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.752e-05/0.006724, allocations: 160.6 kB / 0.5606 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.006746, allocations: 19.86 kB / 0.5606 GB, free: 10.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.00685, allocations: 62.53 kB / 0.5607 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.006853, allocations: 4 kB / 0.5607 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.006856, allocations: 0 / 0.5607 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.006859, allocations: 0 / 0.5607 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.007, allocations: 180.6 kB / 0.5608 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.007002, allocations: 0 / 0.5608 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.007029, allocations: 8 kB / 0.5608 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.007031, allocations: 4.031 kB / 0.5608 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.007037, allocations: 0 / 0.5608 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.00704, allocations: 3.938 kB / 0.5608 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.00704, allocations: 0 / 0.5608 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.007141, allocations: 203.8 kB / 0.561 GB, free: 10.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.007159, allocations: 15.91 kB / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.007178, allocations: 0 / 0.5611 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.049e-05/0.007218, allocations: 7.922 kB / 0.5611 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.007255, allocations: 15.92 kB / 0.5611 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.007257, allocations: 0 / 0.5611 GB, free: 10.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001019/0.007359, allocations: 209.2 kB / 0.5613 GB, free: 9.895 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007359, allocations: 0 / 0.5613 GB, free: 9.895 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001848/0.007544, allocations: 35.94 kB / 0.5613 GB, free: 9.859 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.0001571/0.007701, allocations: 123.1 kB / 0.5614 GB, free: 9.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.07e-05/0.007782, allocations: 19.67 kB / 0.5614 GB, free: 9.707 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.007783, allocations: 0 / 0.5614 GB, free: 9.707 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.956e-05/0.007803, allocations: 11.69 kB / 0.5615 GB, free: 9.691 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.008088, allocations: 48.52 kB / 0.5615 GB, free: 9.641 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006388/0.008727, allocations: 315 kB / 0.5618 GB, free: 9.305 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.157e-05/0.008779, allocations: 79.31 kB / 0.5619 GB, free: 9.207 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.371e-05/0.008812, allocations: 4 kB / 0.5619 GB, free: 9.203 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.008837, allocations: 12.5 kB / 0.5619 GB, free: 9.191 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/0.008838, allocations: 0 / 0.5619 GB, free: 9.191 MB / 490.7 MB Notification: Performance of Templates: time 0.004038/0.01288, allocations: 1.834 MB / 0.5637 GB, free: 7.418 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.9898721710778773]