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.001873/0.001873, allocations: 78.27 kB / 19.01 MB, free: 2.859 MB / 14.72 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.002154/0.002154, allocations: 156.7 kB / 22.25 MB, free: 5.105 MB / 14.72 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.513/1.513, allocations: 177.2 MB / 202.6 MB, free: 9.266 MB / 190.1 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.004021/0.004021, allocations: 238.4 kB / 259.3 MB, free: 0.5742 MB / 238.1 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.058/1.058, allocations: 138.5 MB / 454.2 MB, free: 2.102 MB / 366.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003055/0.003055, allocations: 103.8 kB / 0.6466 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.432, allocations: 95.35 MB / 0.7397 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.003256/0.4352, allocations: 1.712 MB / 0.7414 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008289/0.4361, allocations: 470.1 kB / 0.7418 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.4361, allocations: 0 / 0.7418 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004527/0.4366, allocations: 123.5 kB / 0.7419 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.862e-05/0.4367, allocations: 51.67 kB / 0.742 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.437, allocations: 75.78 kB / 0.742 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.4371, allocations: 103.5 kB / 0.7421 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.4372, allocations: 4 kB / 0.7422 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.4373, allocations: 47.77 kB / 0.7422 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.4374, allocations: 55.75 kB / 0.7422 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.4374, allocations: 7.922 kB / 0.7423 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.4376, allocations: 63.94 kB / 0.7423 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.305e-05/0.4377, allocations: 71.72 kB / 0.7424 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.901e-05/0.4377, allocations: 43.69 kB / 0.7424 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002933/0.438, allocations: 188.3 kB / 0.7426 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.438, allocations: 4 kB / 0.7426 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/0.438, allocations: 4 kB / 0.7426 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.438, allocations: 0 / 0.7426 GB, free: 12.23 MB / 0.5762 GB 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.0006799/0.4387, allocations: 413 kB / 0.743 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.4388, allocations: 9.344 kB / 0.743 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.4388, allocations: 20.8 kB / 0.743 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.439, allocations: 157.7 kB / 0.7432 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.439, allocations: 384 / 0.7432 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.439, allocations: 8.375 kB / 0.7432 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.4393, allocations: 74.16 kB / 0.7433 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4393, allocations: 3.938 kB / 0.7433 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.4393, allocations: 0 / 0.7433 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.743e-05/0.4393, allocations: 3.938 kB / 0.7433 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.4395, allocations: 55.95 kB / 0.7433 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.44, allocations: 280.4 kB / 0.7436 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.4401, allocations: 62.55 kB / 0.7437 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.4402, allocations: 40.83 kB / 0.7437 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.4403, allocations: 11.94 kB / 0.7437 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.4403, allocations: 34.56 kB / 0.7437 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 2.885e-06/0.4403, allocations: 3.984 kB / 0.7437 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004257/0.4407, allocations: 133.5 kB / 0.7439 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.4408, allocations: 55.41 kB / 0.7439 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.441, allocations: 254 kB / 0.7442 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.4411, allocations: 29.7 kB / 0.7442 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.4412, allocations: 136.1 kB / 0.7443 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.4412, allocations: 7.953 kB / 0.7443 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.4412, allocations: 13.72 kB / 0.7443 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4414, allocations: 330.8 kB / 0.7447 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.583e-05/0.4415, allocations: 27.98 kB / 0.7447 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.922e-05/0.4416, allocations: 35.91 kB / 0.7447 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.4418, allocations: 64.88 kB / 0.7448 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4418, allocations: 0 / 0.7448 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002343/0.442, allocations: 109.5 kB / 0.7449 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.442, allocations: 7.984 kB / 0.7449 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.442, allocations: 4 kB / 0.7449 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.442, allocations: 0 / 0.7449 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.055e-05/0.4421, allocations: 4 kB / 0.7449 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.4421, allocations: 4.031 kB / 0.7449 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.442e-05/0.4422, allocations: 7.984 kB / 0.7449 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.4422, allocations: 4 kB / 0.7449 GB, free: 9.707 MB / 0.5762 GB 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.0001674/0.4424, allocations: 137.8 kB / 0.745 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.4424, allocations: 19.84 kB / 0.7451 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000313/0.4427, allocations: 118.6 kB / 0.7452 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4427, allocations: 0 / 0.7452 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4427, allocations: 4.016 kB / 0.7452 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4427, allocations: 4 kB / 0.7452 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.4429, allocations: 157.3 kB / 0.7453 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.4429, allocations: 0 / 0.7453 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.443, allocations: 15.92 kB / 0.7454 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.443, allocations: 0 / 0.7454 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.443, allocations: 3.938 kB / 0.7454 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.443, allocations: 0 / 0.7454 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.443, allocations: 0 / 0.7454 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.4434, allocations: 215.3 kB / 0.7456 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.4435, allocations: 23.73 kB / 0.7456 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.4435, allocations: 4 kB / 0.7456 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.4436, allocations: 7.984 kB / 0.7456 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.4437, allocations: 0 / 0.7456 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.4437, allocations: 4 kB / 0.7456 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001852/0.4438, allocations: 189.2 kB / 0.7458 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.4438, allocations: 0 / 0.7458 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002784/0.4441, allocations: 39.88 kB / 0.7458 GB, free: 8.723 MB / 0.5762 GB 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.0002029/0.4443, allocations: 131.2 kB / 0.7459 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.4446, allocations: 67.88 kB / 0.746 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4446, allocations: 0 / 0.746 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.4447, allocations: 27.98 kB / 0.746 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.4452, allocations: 44.52 kB / 0.7461 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.4457, allocations: 342.5 kB / 0.7464 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.4459, allocations: 118.9 kB / 0.7465 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.262e-05/0.4459, allocations: 8 kB / 0.7465 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.446, allocations: 12.5 kB / 0.7465 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of SimCode: time 3.8e-07/0.446, allocations: 0 / 0.7465 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of Templates: time 0.005326/0.4513, allocations: 1.862 MB / 0.7484 GB, free: 6.141 MB / 0.5762 GB " [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: 6.221783697605133] Failed to read output from testmodel.py, exit status != 0: 0.4596729837357998 0.48371189099999995 0.041266702 Calling exit ...