Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.00123/0.00123, 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.001459/0.001459, allocations: 181 kB / 23.35 MB, free: 1.137 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.9654/0.9654, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.00164/0.00164, allocations: 245.3 kB / 260.5 MB, free: 12.69 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.7281/0.7281, allocations: 138.4 MB / 402.2 MB, free: 0.4961 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.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0.6094 kB / 462.3 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.38e-05, allocations: 4.766 kB / 462.3 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002349/0.002373, allocations: 1.765 MB / 464.1 MB, free: 15.8 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006395/0.003013, allocations: 462.7 kB / 464.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.911e-05/0.003052, allocations: 1.266 kB / 464.5 MB, free: 15.5 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.003416, allocations: 132.8 kB / 464.6 MB, free: 15.46 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 7.262e-05/0.003489, allocations: 60.05 kB / 464.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.003736, allocations: 66.02 kB / 464.8 MB, free: 15.41 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.000135/0.003871, allocations: 103.9 kB / 464.9 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.00391, allocations: 4.25 kB / 464.9 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.786e-05/0.003988, allocations: 46.5 kB / 464.9 MB, free: 15.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.276e-05/0.004071, allocations: 48.02 kB / 465 MB, free: 15.33 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.004082, allocations: 2.719 kB / 465 MB, free: 15.33 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.004218, allocations: 72.55 kB / 465 MB, free: 15.31 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.758e-05/0.004295, allocations: 59.2 kB / 465.1 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.004333, allocations: 29.73 kB / 465.1 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.004558, allocations: 163 kB / 465.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004561, allocations: 1.188 kB / 465.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004562, allocations: 0 / 465.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.004565, allocations: 0.5625 kB / 465.3 MB, free: 15.22 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.000405/0.00497, allocations: 386.7 kB / 465.7 MB, free: 14.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.005003, allocations: 13.64 kB / 465.7 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.005034, allocations: 11.52 kB / 465.7 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.005145, allocations: 158.4 kB / 465.8 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.005157, allocations: 5.531 kB / 465.9 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.005167, allocations: 4.25 kB / 465.9 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.00527, allocations: 54.91 kB / 465.9 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.005278, allocations: 1.031 kB / 465.9 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.005284, allocations: 4.156 kB / 465.9 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.00529, allocations: 4.125 kB / 465.9 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.205e-05/0.005312, allocations: 7.703 kB / 465.9 MB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.005569, allocations: 171.8 kB / 466.1 MB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.269e-05/0.005621, allocations: 66.19 kB / 466.2 MB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.005636, allocations: 12.38 kB / 466.2 MB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.005667, allocations: 5.094 kB / 466.2 MB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.005688, allocations: 33.3 kB / 466.2 MB, free: 14.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.005689, allocations: 1.375 kB / 466.2 MB, free: 14.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001052/0.005794, allocations: 51.55 kB / 466.3 MB, free: 14.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.00582, allocations: 51.41 kB / 466.3 MB, free: 14.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.005955, allocations: 221.8 kB / 466.5 MB, free: 14.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.005965, allocations: 27.45 kB / 466.6 MB, free: 14.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.006008, allocations: 114.2 kB / 466.7 MB, free: 14.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.006022, allocations: 4.656 kB / 466.7 MB, free: 14.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/0.006044, allocations: 17.42 kB / 466.7 MB, free: 14 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.93e-05/0.006123, allocations: 330.2 kB / 467 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.088e-05/0.006134, allocations: 5.375 kB / 467 MB, free: 13.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-06/0.006142, allocations: 1.469 kB / 467 MB, free: 13.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.438e-05/0.006166, allocations: 16.94 kB / 467 MB, free: 13.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.006168, allocations: 0 / 467 MB, free: 13.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.3e-05/0.006221, allocations: 46.8 kB / 467.1 MB, free: 13.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.006234, allocations: 5.969 kB / 467.1 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.006238, allocations: 1.234 kB / 467.1 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.006251, allocations: 6.719 kB / 467.1 MB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.302e-05/0.006304, allocations: 10.66 kB / 467.1 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.006306, allocations: 0 / 467.1 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.006331, allocations: 5.484 kB / 467.1 MB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.006335, allocations: 0 / 467.1 MB, free: 13.61 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.957e-05/0.006395, allocations: 118.3 kB / 467.2 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.582e-05/0.006411, allocations: 7.469 kB / 467.2 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.734e-05/0.006488, allocations: 62.02 kB / 467.3 MB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.006491, allocations: 6.312 kB / 467.3 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006493, allocations: 4 kB / 467.3 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006496, allocations: 0.7031 kB / 467.3 MB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.006603, allocations: 93.91 kB / 467.4 MB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.006605, allocations: 0.5625 kB / 467.4 MB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.006627, allocations: 10.66 kB / 467.4 MB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.006628, allocations: 0 / 467.4 MB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.006632, allocations: 0.7031 kB / 467.4 MB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.006635, allocations: 1.828 kB / 467.4 MB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.006638, allocations: 0.625 kB / 467.4 MB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.623e-05/0.006724, allocations: 188.7 kB / 467.6 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.454e-05/0.006739, allocations: 12.61 kB / 467.6 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.006751, allocations: 2.703 kB / 467.6 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.67e-05/0.006788, allocations: 4.75 kB / 467.6 MB, free: 13.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.006817, allocations: 9.344 kB / 467.6 MB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-06/0.006821, allocations: 5.484 kB / 467.6 MB, free: 13.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.593e-05/0.006887, allocations: 82.78 kB / 467.7 MB, free: 13.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006887, allocations: 0 / 467.7 MB, free: 13.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.007052, allocations: 32.83 kB / 467.7 MB, free: 12.99 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.0001455/0.007198, allocations: 103.4 kB / 467.8 MB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.547e-05/0.007253, allocations: 17.66 kB / 467.9 MB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.007257, allocations: 0.7812 kB / 467.9 MB, free: 12.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.437e-05/0.007271, allocations: 9.656 kB / 467.9 MB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.007495, allocations: 53.05 kB / 467.9 MB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.007983, allocations: 302.2 kB / 468.2 MB, free: 12.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.473e-05/0.008038, allocations: 83.84 kB / 468.3 MB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.748e-05/0.008075, allocations: 7.406 kB / 468.3 MB, free: 12.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.481e-05/0.00815, allocations: 69.03 kB / 468.4 MB, free: 12.37 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008151, allocations: 1.625 kB / 468.4 MB, free: 12.37 MB / 426.7 MB Notification: Performance of Templates: time 0.003556/0.01171, allocations: 1.952 MB / 470.3 MB, free: 10.62 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5556254917755723]