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.001055/0.001055, allocations: 80.88 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.001209/0.001209, allocations: 181.3 kB / 23.36 MB, free: 1.133 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.9953/0.9953, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.001761/0.001761, allocations: 238 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.7624/0.7624, allocations: 138.4 MB / 402.2 MB, free: 0.5781 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: 1.312 kB / 462.3 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.838e-05, allocations: 3.406 kB / 462.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002433/0.002451, allocations: 1.813 MB / 464.2 MB, free: 15.77 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006897/0.003141, allocations: 0.4985 MB / 464.7 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.88e-05/0.00318, allocations: 2.188 kB / 464.7 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.003542, allocations: 130.5 kB / 464.8 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.59e-05/0.003618, allocations: 62.64 kB / 464.8 MB, free: 15.37 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.00385, allocations: 63 kB / 464.9 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.003977, allocations: 101 kB / 465 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.004017, allocations: 7.922 kB / 465 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.004099, allocations: 47.66 kB / 465.1 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.146e-05/0.00418, allocations: 45.55 kB / 465.1 MB, free: 15.26 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.004192, allocations: 4.375 kB / 465.1 MB, free: 15.26 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.004366, allocations: 82.31 kB / 465.2 MB, free: 15.24 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-05/0.004437, allocations: 59.31 kB / 465.2 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.004486, allocations: 37 kB / 465.3 MB, free: 15.21 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.00472, allocations: 164 kB / 465.4 MB, free: 15.15 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.004722, allocations: 0.5625 kB / 465.4 MB, free: 15.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004723, allocations: 0 / 465.4 MB, free: 15.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.004728, allocations: 1.219 kB / 465.4 MB, free: 15.15 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.0004267/0.005155, allocations: 386.4 kB / 465.8 MB, free: 14.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.005192, allocations: 11.19 kB / 465.8 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.00523, allocations: 11.12 kB / 465.8 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.005365, allocations: 166.4 kB / 466 MB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.005376, allocations: 5.469 kB / 466 MB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.005383, allocations: 3.188 kB / 466 MB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.00552, allocations: 55.67 kB / 466.1 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.005528, allocations: 192 / 466.1 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.005537, allocations: 2.406 kB / 466.1 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.005545, allocations: 5.422 kB / 466.1 MB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.005568, allocations: 4.359 kB / 466.1 MB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002485/0.005816, allocations: 178.6 kB / 466.3 MB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.745e-05/0.005864, allocations: 71.64 kB / 466.3 MB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.374e-05/0.005877, allocations: 7.234 kB / 466.3 MB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.959e-05/0.005917, allocations: 15.06 kB / 466.4 MB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.005937, allocations: 32.62 kB / 466.4 MB, free: 14.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.005938, allocations: 0 / 466.4 MB, free: 14.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001061/0.006044, allocations: 51.8 kB / 466.4 MB, free: 14.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.006072, allocations: 52.59 kB / 466.5 MB, free: 14.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.006217, allocations: 221.7 kB / 466.7 MB, free: 14.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.006228, allocations: 32.45 kB / 466.7 MB, free: 14.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.006273, allocations: 103.2 kB / 466.8 MB, free: 13.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.006289, allocations: 9.906 kB / 466.8 MB, free: 13.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.528e-05/0.006315, allocations: 14.08 kB / 466.9 MB, free: 13.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.006403, allocations: 329.2 kB / 467.2 MB, free: 13.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.167e-05/0.006414, allocations: 6.531 kB / 467.2 MB, free: 13.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-06/0.006423, allocations: 4.688 kB / 467.2 MB, free: 13.6 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.677e-05/0.00645, allocations: 13.5 kB / 467.2 MB, free: 13.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.006451, allocations: 0.75 kB / 467.2 MB, free: 13.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.248e-05/0.006514, allocations: 47.91 kB / 467.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.006525, allocations: 5.312 kB / 467.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.006529, allocations: 1.438 kB / 467.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.006543, allocations: 6.469 kB / 467.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.493e-05/0.006598, allocations: 6.062 kB / 467.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.006603, allocations: 4.828 kB / 467.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.685e-05/0.00663, allocations: 0.7969 kB / 467.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.006634, allocations: 1.703 kB / 467.3 MB, free: 13.55 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 5.985e-05/0.006694, allocations: 120.7 kB / 467.4 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.006715, allocations: 7.953 kB / 467.4 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.002e-05/0.006795, allocations: 56.59 kB / 467.5 MB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.006798, allocations: 7.875 kB / 467.5 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.006801, allocations: 7.938 kB / 467.5 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006804, allocations: 0.6562 kB / 467.5 MB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.006923, allocations: 92.95 kB / 467.6 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.006924, allocations: 0 / 467.6 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.528e-05/0.00695, allocations: 7.812 kB / 467.6 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.006952, allocations: 2.109 kB / 467.6 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.006957, allocations: 0.7188 kB / 467.6 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006958, allocations: 0.6094 kB / 467.6 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.00696, allocations: 5.234 kB / 467.6 MB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.00706, allocations: 192.2 kB / 467.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.524e-05/0.007075, allocations: 13.59 kB / 467.8 MB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.007089, allocations: 0.5625 kB / 467.8 MB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.096e-05/0.00713, allocations: 4.797 kB / 467.8 MB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.007161, allocations: 3 kB / 467.8 MB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.007164, allocations: 3.938 kB / 467.8 MB, free: 13.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.68e-05/0.007231, allocations: 82.53 kB / 467.9 MB, free: 12.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007231, allocations: 3.938 kB / 467.9 MB, free: 12.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001803/0.007411, allocations: 43.83 kB / 467.9 MB, free: 12.91 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.000152/0.007563, allocations: 117.2 kB / 468 MB, free: 12.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.817e-05/0.007621, allocations: 10.58 kB / 468 MB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.007626, allocations: 4 kB / 468 MB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.64e-05/0.007642, allocations: 11.12 kB / 468.1 MB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.007887, allocations: 40.06 kB / 468.1 MB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.008416, allocations: 309.7 kB / 468.4 MB, free: 12.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.115e-05/0.008467, allocations: 83.84 kB / 468.5 MB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.076e-05/0.008508, allocations: 1.688 kB / 468.5 MB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.981e-05/0.008588, allocations: 71.36 kB / 468.6 MB, free: 12.25 MB / 426.7 MB Notification: Performance of SimCode: time 4.61e-07/0.008589, allocations: 1.594 kB / 468.6 MB, free: 12.25 MB / 426.7 MB Notification: Performance of Templates: time 0.003785/0.01237, allocations: 1.994 MB / 470.6 MB, free: 10.47 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6752227349206805]