Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.002531/0.002531, allocations: 85.48 kB / 19.44 MB, free: 344 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.003333/0.003333, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.623/1.623, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.003172/0.003172, allocations: 240.8 kB / 259.8 MB, free: 12.84 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.176/1.176, allocations: 138.4 MB / 454.7 MB, free: 1.496 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.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5543 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/3.009e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.004186/0.004216, allocations: 1.724 MB / 0.556 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.005348, allocations: 0.4981 MB / 0.5565 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.155e-05/0.00539, allocations: 0 / 0.5565 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005799/0.00597, allocations: 143.3 kB / 0.5566 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001264/0.006096, allocations: 47.67 kB / 0.5567 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.006442, allocations: 71.72 kB / 0.5567 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002013/0.006643, allocations: 103.4 kB / 0.5568 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.966e-05/0.006693, allocations: 7.984 kB / 0.5568 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.006809, allocations: 47.83 kB / 0.5569 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.006941, allocations: 43.88 kB / 0.5569 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.006962, allocations: 0 / 0.5569 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.007203, allocations: 83.84 kB / 0.557 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.007316, allocations: 55.83 kB / 0.5571 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.625e-05/0.007393, allocations: 35.88 kB / 0.5571 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.007813, allocations: 203.2 kB / 0.5573 GB, free: 13.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.007817, allocations: 0 / 0.5573 GB, free: 13.79 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.007818, allocations: 0 / 0.5573 GB, free: 13.79 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.007824, allocations: 0 / 0.5573 GB, free: 13.79 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.0009882/0.008812, allocations: 0.5068 MB / 0.5578 GB, free: 13.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.008857, allocations: 12.75 kB / 0.5578 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.008922, allocations: 16.84 kB / 0.5578 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.00915, allocations: 163.7 kB / 0.558 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.009164, allocations: 4.375 kB / 0.558 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.009174, allocations: 384 / 0.558 GB, free: 13.03 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.009367, allocations: 50.23 kB / 0.558 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.009377, allocations: 192 / 0.558 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.009386, allocations: 384 / 0.558 GB, free: 12.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.009393, allocations: 4.125 kB / 0.558 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.009556, allocations: 27.92 kB / 0.5581 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006503/0.01021, allocations: 323.8 kB / 0.5584 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.01037, allocations: 43.05 kB / 0.5584 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.01047, allocations: 15.75 kB / 0.5584 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.212e-05/0.01053, allocations: 15.98 kB / 0.5584 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.01058, allocations: 33.39 kB / 0.5585 GB, free: 12.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.01058, allocations: 3.938 kB / 0.5585 GB, free: 12.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003805/0.01096, allocations: 81.52 kB / 0.5586 GB, free: 12.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.01102, allocations: 51.41 kB / 0.5586 GB, free: 12.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/0.01149, allocations: 320.3 kB / 0.5589 GB, free: 11.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.01151, allocations: 25.83 kB / 0.5589 GB, free: 11.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.01172, allocations: 198.8 kB / 0.5591 GB, free: 11.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.01174, allocations: 15.83 kB / 0.5591 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.0118, allocations: 19.36 kB / 0.5592 GB, free: 11.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003866/0.01219, allocations: 0.5118 MB / 0.5597 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.15e-05/0.01228, allocations: 15.98 kB / 0.5597 GB, free: 11.16 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.338e-05/0.01236, allocations: 12 kB / 0.5597 GB, free: 11.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.01251, allocations: 31.61 kB / 0.5597 GB, free: 11.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.01251, allocations: 0 / 0.5597 GB, free: 11.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002526/0.01277, allocations: 77.64 kB / 0.5598 GB, free: 11.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.01279, allocations: 7.938 kB / 0.5598 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01279, allocations: 0 / 0.5598 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.01281, allocations: 0 / 0.5598 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.049e-05/0.0129, allocations: 4 kB / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01291, allocations: 4 kB / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.933e-05/0.01296, allocations: 0 / 0.5598 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.01296, allocations: 3.984 kB / 0.5598 GB, free: 11.02 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.000125/0.01309, allocations: 160.6 kB / 0.56 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.01313, allocations: 23.89 kB / 0.56 GB, free: 10.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.0134, allocations: 86.5 kB / 0.5601 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.0134, allocations: 0 / 0.5601 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01341, allocations: 0 / 0.5601 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.01341, allocations: 4 kB / 0.5601 GB, free: 10.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.01379, allocations: 188.6 kB / 0.5602 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01379, allocations: 0 / 0.5602 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.01385, allocations: 4 kB / 0.5603 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01385, allocations: 0 / 0.5603 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.01386, allocations: 4.031 kB / 0.5603 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.01386, allocations: 3.938 kB / 0.5603 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01386, allocations: 0 / 0.5603 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.01422, allocations: 223.7 kB / 0.5605 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.01426, allocations: 15.91 kB / 0.5605 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.0143, allocations: 4 kB / 0.5605 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.01443, allocations: 3.938 kB / 0.5605 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.01448, allocations: 7.984 kB / 0.5605 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.01449, allocations: 0 / 0.5605 GB, free: 10.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002937/0.01478, allocations: 213.1 kB / 0.5607 GB, free: 10.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.01478, allocations: 4.031 kB / 0.5607 GB, free: 10.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.0151, allocations: 35.88 kB / 0.5607 GB, free: 9.988 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.0003049/0.01541, allocations: 131.1 kB / 0.5609 GB, free: 9.852 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.01565, allocations: 31.67 kB / 0.5609 GB, free: 9.816 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01565, allocations: 0 / 0.5609 GB, free: 9.816 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.01575, allocations: 31.61 kB / 0.5609 GB, free: 9.781 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006784/0.01643, allocations: 48.53 kB / 0.561 GB, free: 9.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00081/0.01724, allocations: 295.1 kB / 0.5613 GB, free: 9.414 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.01745, allocations: 122.9 kB / 0.5614 GB, free: 9.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.341e-05/0.0175, allocations: 4 kB / 0.5614 GB, free: 9.266 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.01753, allocations: 8.5 kB / 0.5614 GB, free: 9.258 MB / 490.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01753, allocations: 4 kB / 0.5614 GB, free: 9.254 MB / 490.7 MB Notification: Performance of Templates: time 0.007779/0.02531, allocations: 1.874 MB / 0.5632 GB, free: 7.441 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.04043393896427]