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.001258/0.001258, allocations: 93.06 kB / 19.65 MB, free: 280 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.001455/0.001455, allocations: 165 kB / 23.01 MB, free: 1.555 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.98/0.98, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.001631/0.001631, allocations: 237.5 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.7088/0.7088, allocations: 138.4 MB / 455.2 MB, free: 1.555 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.633e-06/1.633e-06, allocations: 0 / 0.5551 GB, free: 0.5625 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.631e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002082/0.002098, allocations: 1.763 MB / 0.5568 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005649/0.002663, allocations: 0.5097 MB / 0.5573 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.002694, allocations: 0 / 0.5573 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003415/0.003035, allocations: 131.4 kB / 0.5574 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.579e-05/0.003091, allocations: 59.55 kB / 0.5575 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.003316, allocations: 67.78 kB / 0.5576 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.003425, allocations: 103.4 kB / 0.5577 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.282e-05/0.003458, allocations: 7.984 kB / 0.5577 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.003524, allocations: 39.89 kB / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.0036, allocations: 51.83 kB / 0.5578 GB, free: 13.81 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.003612, allocations: 3.938 kB / 0.5578 GB, free: 13.8 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.003747, allocations: 79.78 kB / 0.5578 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.015e-05/0.003817, allocations: 67.81 kB / 0.5579 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.003859, allocations: 27.94 kB / 0.5579 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.004063, allocations: 167.4 kB / 0.5581 GB, free: 13.47 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.004065, allocations: 0 / 0.5581 GB, free: 13.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004066, allocations: 0 / 0.5581 GB, free: 13.47 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.00407, allocations: 0 / 0.5581 GB, free: 13.47 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.0004211/0.004491, allocations: 0.5109 MB / 0.5586 GB, free: 12.92 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.004536, allocations: 12.75 kB / 0.5586 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.004586, allocations: 24.78 kB / 0.5586 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.004731, allocations: 159.7 kB / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.004744, allocations: 4.375 kB / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.004757, allocations: 384 / 0.5588 GB, free: 12.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.004892, allocations: 50.95 kB / 0.5588 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.004902, allocations: 192 / 0.5588 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.004913, allocations: 4.375 kB / 0.5588 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.004922, allocations: 4.125 kB / 0.5588 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.047e-05/0.004953, allocations: 7.984 kB / 0.5588 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.005301, allocations: 327.7 kB / 0.5592 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.229e-05/0.005353, allocations: 35.05 kB / 0.5592 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.005376, allocations: 7.688 kB / 0.5592 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.005424, allocations: 8.062 kB / 0.5592 GB, free: 12.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.005449, allocations: 45.38 kB / 0.5592 GB, free: 12.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.00545, allocations: 0 / 0.5592 GB, free: 12.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001479/0.005598, allocations: 61.47 kB / 0.5593 GB, free: 12.08 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.005627, allocations: 51.41 kB / 0.5594 GB, free: 12.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.005829, allocations: 312.3 kB / 0.5597 GB, free: 11.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.005841, allocations: 25.7 kB / 0.5597 GB, free: 11.66 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.917e-05/0.00593, allocations: 198.9 kB / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.005945, allocations: 3.953 kB / 0.5599 GB, free: 11.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.005971, allocations: 23.36 kB / 0.5599 GB, free: 11.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.006095, allocations: 0.5118 MB / 0.5604 GB, free: 10.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/0.006109, allocations: 0 / 0.5604 GB, free: 10.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.908e-06/0.006118, allocations: 4 kB / 0.5604 GB, free: 10.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.715e-05/0.006146, allocations: 19.67 kB / 0.5604 GB, free: 10.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.006147, allocations: 0 / 0.5604 GB, free: 10.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.255e-05/0.00621, allocations: 57.5 kB / 0.5605 GB, free: 10.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.006222, allocations: 12.03 kB / 0.5605 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.006226, allocations: 0 / 0.5605 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.006238, allocations: 0 / 0.5605 GB, free: 10.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.006301, allocations: 15.98 kB / 0.5605 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.006306, allocations: 0 / 0.5605 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.00633, allocations: 3.938 kB / 0.5605 GB, free: 10.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.006336, allocations: 4 kB / 0.5605 GB, free: 10.78 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.502e-05/0.006401, allocations: 156.6 kB / 0.5607 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.006422, allocations: 19.86 kB / 0.5607 GB, free: 10.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.206e-05/0.006514, allocations: 66.52 kB / 0.5607 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.006515, allocations: 4.031 kB / 0.5607 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.006518, allocations: 0 / 0.5607 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.00652, allocations: 0 / 0.5607 GB, free: 10.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.006654, allocations: 184.6 kB / 0.5609 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.006655, allocations: 0 / 0.5609 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.146e-05/0.006677, allocations: 7.984 kB / 0.5609 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.006678, allocations: 0 / 0.5609 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.006688, allocations: 0 / 0.5609 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.00669, allocations: 7.938 kB / 0.5609 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.006691, allocations: 0 / 0.5609 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.528e-05/0.006787, allocations: 203.8 kB / 0.5611 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.513e-05/0.006802, allocations: 15.91 kB / 0.5611 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.006814, allocations: 0 / 0.5611 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.006852, allocations: 7.938 kB / 0.5612 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.006885, allocations: 0 / 0.5612 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.006888, allocations: 7.938 kB / 0.5612 GB, free: 10.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.494e-05/0.006983, allocations: 209.1 kB / 0.5614 GB, free: 9.844 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006983, allocations: 0 / 0.5614 GB, free: 9.844 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001755/0.007159, allocations: 35.94 kB / 0.5614 GB, free: 9.809 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.0001379/0.007297, allocations: 135.1 kB / 0.5615 GB, free: 9.668 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.094e-05/0.007368, allocations: 19.67 kB / 0.5615 GB, free: 9.645 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.007369, allocations: 0 / 0.5615 GB, free: 9.645 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.646e-05/0.007385, allocations: 11.69 kB / 0.5616 GB, free: 9.629 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.00766, allocations: 48.39 kB / 0.5616 GB, free: 9.578 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005662/0.008227, allocations: 310.6 kB / 0.5619 GB, free: 9.25 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.868e-05/0.008275, allocations: 79.31 kB / 0.562 GB, free: 9.152 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.787e-05/0.008303, allocations: 8 kB / 0.562 GB, free: 9.145 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.008324, allocations: 8.5 kB / 0.562 GB, free: 9.137 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.008324, allocations: 4 kB / 0.562 GB, free: 9.133 MB / 490.7 MB Notification: Performance of Templates: time 0.003654/0.01198, allocations: 1.869 MB / 0.5638 GB, free: 7.316 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: 3.6470202221535146]