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.0008162/0.0008162, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0008696/0.0008696, allocations: 181 kB / 23.36 MB, free: 1.129 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.9699/0.9699, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.005501/0.005501, allocations: 250 kB / 260.5 MB, free: 12.7 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.7193/0.7193, allocations: 138.4 MB / 402.2 MB, free: 0.5703 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.613e-06/1.613e-06, allocations: 0 / 462.3 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.019e-05, allocations: 4.469 kB / 462.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002158/0.002178, allocations: 1.764 MB / 464.1 MB, free: 15.79 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006766/0.002854, allocations: 0.5045 MB / 464.6 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.002891, allocations: 0.5312 kB / 464.6 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.003263, allocations: 136.6 kB / 464.7 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.099e-05/0.003334, allocations: 57.67 kB / 464.8 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.003594, allocations: 73.53 kB / 464.8 MB, free: 15.35 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.003724, allocations: 105 kB / 464.9 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.003762, allocations: 5 kB / 464.9 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.05e-05/0.003842, allocations: 43.23 kB / 465 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.502e-05/0.003927, allocations: 45.45 kB / 465 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.003939, allocations: 3.844 kB / 465 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.004086, allocations: 74.67 kB / 465.1 MB, free: 15.25 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.542e-05/0.004162, allocations: 60.2 kB / 465.2 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.004199, allocations: 37.33 kB / 465.2 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.004417, allocations: 172.9 kB / 465.4 MB, free: 15.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.004419, allocations: 0.5625 kB / 465.4 MB, free: 15.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.00442, allocations: 0 / 465.4 MB, free: 15.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.004423, allocations: 1.312 kB / 465.4 MB, free: 15.16 MB / 426.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.0003899/0.004813, allocations: 382.5 kB / 465.7 MB, free: 14.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.004848, allocations: 9.875 kB / 465.7 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.004892, allocations: 12.56 kB / 465.8 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.005026, allocations: 165.9 kB / 465.9 MB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.005037, allocations: 384 / 465.9 MB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.005047, allocations: 2.625 kB / 465.9 MB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.005167, allocations: 55.12 kB / 466 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.005174, allocations: 1.375 kB / 466 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.00518, allocations: 0.9062 kB / 466 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.005187, allocations: 5.891 kB / 466 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.372e-05/0.005211, allocations: 8.859 kB / 466 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.005489, allocations: 175 kB / 466.2 MB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.897e-05/0.005548, allocations: 66.02 kB / 466.2 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.005567, allocations: 8.5 kB / 466.2 MB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.005606, allocations: 14.03 kB / 466.3 MB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.005629, allocations: 34 kB / 466.3 MB, free: 14.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.00563, allocations: 1.844 kB / 466.3 MB, free: 14.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001258/0.005756, allocations: 51.14 kB / 466.3 MB, free: 14.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.005789, allocations: 52.06 kB / 466.4 MB, free: 14.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.005969, allocations: 222.1 kB / 466.6 MB, free: 14.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.005983, allocations: 31.11 kB / 466.6 MB, free: 14.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.279e-05/0.006036, allocations: 109.2 kB / 466.7 MB, free: 13.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.006056, allocations: 5.719 kB / 466.7 MB, free: 13.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.00609, allocations: 13.02 kB / 466.8 MB, free: 13.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.006192, allocations: 331.3 kB / 467.1 MB, free: 13.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.006206, allocations: 4.328 kB / 467.1 MB, free: 13.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.038e-05/0.006217, allocations: 1.953 kB / 467.1 MB, free: 13.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/0.006249, allocations: 23.86 kB / 467.1 MB, free: 13.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.006253, allocations: 1.094 kB / 467.1 MB, free: 13.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.199e-05/0.006325, allocations: 46.3 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.006337, allocations: 7.656 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.006343, allocations: 0.5625 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.006356, allocations: 5.031 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.006418, allocations: 6.719 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.006421, allocations: 0 / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.00646, allocations: 3.984 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.006466, allocations: 2.281 kB / 467.2 MB, free: 13.56 MB / 426.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.23e-05/0.006538, allocations: 115.4 kB / 467.3 MB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.006568, allocations: 12.02 kB / 467.3 MB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.98e-05/0.006668, allocations: 57.84 kB / 467.4 MB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.006672, allocations: 3.938 kB / 467.4 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006673, allocations: 1.531 kB / 467.4 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.006677, allocations: 1.5 kB / 467.4 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.00684, allocations: 95.86 kB / 467.5 MB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.006841, allocations: 0.7812 kB / 467.5 MB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.299e-05/0.006874, allocations: 6.812 kB / 467.5 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.006877, allocations: 0.6094 kB / 467.5 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.006882, allocations: 1.312 kB / 467.5 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006883, allocations: 0 / 467.5 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.006885, allocations: 0.75 kB / 467.5 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.007004, allocations: 196.9 kB / 467.7 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.007026, allocations: 12.7 kB / 467.7 MB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.007045, allocations: 2.312 kB / 467.7 MB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.549e-05/0.00711, allocations: 6.312 kB / 467.7 MB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.007139, allocations: 2.766 kB / 467.7 MB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.007144, allocations: 3.938 kB / 467.7 MB, free: 13.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.512e-05/0.007229, allocations: 81.64 kB / 467.8 MB, free: 13.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007229, allocations: 0 / 467.8 MB, free: 13.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.00746, allocations: 45.14 kB / 467.8 MB, free: 12.96 MB / 426.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.0001424/0.007603, allocations: 116.3 kB / 467.9 MB, free: 12.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.732e-05/0.00765, allocations: 10.97 kB / 467.9 MB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.007654, allocations: 4 kB / 467.9 MB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.482e-05/0.007669, allocations: 10.11 kB / 468 MB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.007894, allocations: 52.2 kB / 468 MB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005056/0.0084, allocations: 307 kB / 468.3 MB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.131e-05/0.008451, allocations: 86.7 kB / 468.4 MB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.333e-05/0.008485, allocations: 1.562 kB / 468.4 MB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.008557, allocations: 71.36 kB / 468.5 MB, free: 12.32 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008558, allocations: 0.7812 kB / 468.5 MB, free: 12.32 MB / 426.7 MB Notification: Performance of Templates: time 0.003782/0.01234, allocations: 1.984 MB / 470.4 MB, free: 10.54 MB / 426.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: 3.5957688209600747]