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.001929/0.001929, allocations: 88.72 kB / 19.44 MB, free: 352 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.002538/0.002538, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.5/1.5, 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.002623/0.002623, allocations: 231 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.082/1.082, allocations: 138.4 MB / 454.7 MB, free: 1.5 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.653e-06/1.653e-06, allocations: 0 / 0.5543 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.527e-05, allocations: 6.312 kB / 0.5543 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.003482/0.003507, allocations: 1.693 MB / 0.556 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009741/0.004481, allocations: 458.2 kB / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.516e-05/0.004546, allocations: 0 / 0.5564 GB, free: 14.72 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005457/0.005092, allocations: 139.3 kB / 0.5565 GB, free: 14.58 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.005213, allocations: 55.69 kB / 0.5566 GB, free: 14.53 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003359/0.005549, allocations: 67.72 kB / 0.5567 GB, free: 14.46 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.005757, allocations: 103.4 kB / 0.5568 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.482e-05/0.005812, allocations: 4 kB / 0.5568 GB, free: 14.36 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.005928, allocations: 47.81 kB / 0.5568 GB, free: 14.31 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.006037, allocations: 55.81 kB / 0.5569 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.006055, allocations: 4 kB / 0.5569 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001971/0.006252, allocations: 75.84 kB / 0.5569 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.006355, allocations: 59.83 kB / 0.557 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.625e-05/0.006421, allocations: 31.88 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003564/0.006778, allocations: 195.3 kB / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.00678, allocations: 0 / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.006781, allocations: 0 / 0.5572 GB, free: 13.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.006789, allocations: 4 kB / 0.5572 GB, free: 13.89 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.0006937/0.007482, allocations: 405 kB / 0.5576 GB, free: 13.46 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.007522, allocations: 12.75 kB / 0.5576 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.946e-05/0.007602, allocations: 24.84 kB / 0.5576 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.007788, allocations: 160.9 kB / 0.5578 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.007801, allocations: 384 / 0.5578 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.457e-06/0.00781, allocations: 384 / 0.5578 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.00803, allocations: 66.16 kB / 0.5578 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.008039, allocations: 4.188 kB / 0.5579 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.00805, allocations: 4.359 kB / 0.5579 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.00806, allocations: 8.125 kB / 0.5579 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.008273, allocations: 59.95 kB / 0.5579 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005411/0.008814, allocations: 276.5 kB / 0.5582 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.008988, allocations: 66.42 kB / 0.5582 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.009097, allocations: 36.89 kB / 0.5583 GB, free: 12.69 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.011e-05/0.009147, allocations: 12 kB / 0.5583 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.009184, allocations: 34.55 kB / 0.5583 GB, free: 12.63 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.009185, allocations: 0 / 0.5583 GB, free: 12.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004787/0.009663, allocations: 141.5 kB / 0.5585 GB, free: 12.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.009711, allocations: 51.41 kB / 0.5585 GB, free: 12.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.01002, allocations: 253.9 kB / 0.5588 GB, free: 12.17 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.01004, allocations: 25.7 kB / 0.5588 GB, free: 12.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001282/0.01017, allocations: 144 kB / 0.5589 GB, free: 11.99 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.041e-05/0.01019, allocations: 7.891 kB / 0.5589 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.01023, allocations: 13.72 kB / 0.5589 GB, free: 11.96 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.01044, allocations: 338.9 kB / 0.5593 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.01056, allocations: 27.98 kB / 0.5593 GB, free: 11.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.329e-05/0.01066, allocations: 27.97 kB / 0.5593 GB, free: 11.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.01088, allocations: 64.81 kB / 0.5594 GB, free: 11.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01088, allocations: 0 / 0.5594 GB, free: 11.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003118/0.01119, allocations: 109.6 kB / 0.5595 GB, free: 11.39 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.01121, allocations: 7.938 kB / 0.5595 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01121, allocations: 0 / 0.5595 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.01123, allocations: 4 kB / 0.5595 GB, free: 11.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.01134, allocations: 11.92 kB / 0.5595 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.01134, allocations: 0 / 0.5595 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.723e-05/0.01142, allocations: 8 kB / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.01143, allocations: 0 / 0.5595 GB, free: 11.36 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.0001444/0.01157, allocations: 137.8 kB / 0.5596 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.01161, allocations: 23.89 kB / 0.5597 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.01193, allocations: 118.5 kB / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01193, allocations: 0 / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.01194, allocations: 0 / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.01194, allocations: 0 / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002446/0.01219, allocations: 161.3 kB / 0.5599 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01219, allocations: 0 / 0.5599 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.389e-05/0.01225, allocations: 11.98 kB / 0.5599 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01226, allocations: 4.031 kB / 0.5599 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.01227, allocations: 0 / 0.5599 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.01228, allocations: 11.81 kB / 0.56 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01228, allocations: 0 / 0.56 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.01262, allocations: 203.4 kB / 0.5602 GB, free: 10.64 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.01264, allocations: 11.91 kB / 0.5602 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.01267, allocations: 0 / 0.5602 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.01277, allocations: 11.92 kB / 0.5602 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/0.01282, allocations: 8 kB / 0.5602 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.01283, allocations: 8.031 kB / 0.5602 GB, free: 10.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002076/0.01304, allocations: 189.2 kB / 0.5604 GB, free: 10.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01304, allocations: 0 / 0.5604 GB, free: 10.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003131/0.01335, allocations: 35.94 kB / 0.5604 GB, free: 10.39 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.0002451/0.0136, allocations: 131.1 kB / 0.5605 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.01386, allocations: 63.89 kB / 0.5606 GB, free: 10.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01386, allocations: 0 / 0.5606 GB, free: 10.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.01397, allocations: 36.03 kB / 0.5606 GB, free: 10.15 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.0145, allocations: 40.41 kB / 0.5607 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/0.01534, allocations: 341.4 kB / 0.561 GB, free: 9.742 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.01549, allocations: 118.9 kB / 0.5611 GB, free: 9.609 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.706e-05/0.01553, allocations: 7.984 kB / 0.5611 GB, free: 9.602 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.01557, allocations: 12.5 kB / 0.5611 GB, free: 9.59 MB / 490.7 MB Notification: Performance of SimCode: time 4.2e-07/0.01557, allocations: 0 / 0.5611 GB, free: 9.59 MB / 490.7 MB Notification: Performance of Templates: time 0.005629/0.0212, allocations: 1.86 MB / 0.5629 GB, free: 7.789 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.548241246026009]