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.0009469/0.0009469, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009694/0.0009694, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.011/1.011, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.001823/0.001823, allocations: 253.5 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.7802/0.7802, allocations: 138.4 MB / 402.2 MB, free: 0.5547 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.423e-06/1.423e-06, allocations: 0 / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.697e-05, allocations: 4 kB / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002766/0.002783, allocations: 1.814 MB / 464.2 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.000616/0.003399, allocations: 467.6 kB / 464.6 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.853e-05/0.003438, allocations: 2.281 kB / 464.6 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003452/0.003783, allocations: 132.1 kB / 464.7 MB, free: 15.4 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.821e-05/0.003851, allocations: 56.06 kB / 464.8 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.004058, allocations: 56.59 kB / 464.9 MB, free: 15.35 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.004175, allocations: 104.8 kB / 465 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.004213, allocations: 4.125 kB / 465 MB, free: 15.3 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.58e-05/0.004299, allocations: 47.88 kB / 465 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.114e-05/0.00438, allocations: 44.75 kB / 465.1 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.004395, allocations: 4 kB / 465.1 MB, free: 15.27 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.004576, allocations: 84.2 kB / 465.1 MB, free: 15.25 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.00465, allocations: 59.42 kB / 465.2 MB, free: 15.22 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.004686, allocations: 33.38 kB / 465.2 MB, free: 15.21 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002057/0.004892, allocations: 159.3 kB / 465.4 MB, free: 15.16 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.004894, allocations: 5.562 kB / 465.4 MB, free: 15.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004894, allocations: 0.6094 kB / 465.4 MB, free: 15.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.004898, allocations: 1.094 kB / 465.4 MB, free: 15.16 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.0003539/0.005252, allocations: 384.3 kB / 465.8 MB, free: 14.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.005282, allocations: 12.27 kB / 465.8 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.005313, allocations: 13.06 kB / 465.8 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.005425, allocations: 157.8 kB / 465.9 MB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.005434, allocations: 5.906 kB / 466 MB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-06/0.005441, allocations: 3.656 kB / 466 MB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.186e-05/0.005533, allocations: 57.12 kB / 466 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.005539, allocations: 192 / 466 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.981e-06/0.005545, allocations: 384 / 466 MB, free: 14.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.005551, allocations: 5.469 kB / 466 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.005571, allocations: 5.031 kB / 466 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000242/0.005813, allocations: 174.3 kB / 466.2 MB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.748e-05/0.005861, allocations: 71.36 kB / 466.3 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.354e-05/0.005874, allocations: 8.797 kB / 466.3 MB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.005903, allocations: 4.172 kB / 466.3 MB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.005922, allocations: 33.97 kB / 466.3 MB, free: 14.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.005923, allocations: 0 / 466.3 MB, free: 14.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001038/0.006027, allocations: 48.34 kB / 466.4 MB, free: 14.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.006053, allocations: 55.34 kB / 466.4 MB, free: 14.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.006197, allocations: 223.2 kB / 466.6 MB, free: 14.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.006208, allocations: 25.7 kB / 466.7 MB, free: 14.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.006253, allocations: 108.5 kB / 466.8 MB, free: 13.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.00627, allocations: 10.25 kB / 466.8 MB, free: 13.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.006302, allocations: 17.92 kB / 466.8 MB, free: 13.94 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.006389, allocations: 330.8 kB / 467.1 MB, free: 13.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.0064, allocations: 4.703 kB / 467.1 MB, free: 13.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.396e-06/0.006408, allocations: 2.438 kB / 467.1 MB, free: 13.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.006434, allocations: 14.3 kB / 467.1 MB, free: 13.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.006436, allocations: 0.875 kB / 467.1 MB, free: 13.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.589e-05/0.006492, allocations: 47.31 kB / 467.2 MB, free: 13.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.006504, allocations: 6.094 kB / 467.2 MB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.00651, allocations: 5.609 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.006523, allocations: 3.938 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.006575, allocations: 8.844 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.006577, allocations: 0.7031 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.829e-05/0.006606, allocations: 3.875 kB / 467.2 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.00661, allocations: 1.609 kB / 467.2 MB, free: 13.56 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.694e-05/0.006667, allocations: 112 kB / 467.3 MB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.006691, allocations: 15.83 kB / 467.3 MB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.787e-05/0.006769, allocations: 54.67 kB / 467.4 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.006772, allocations: 3.938 kB / 467.4 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.006773, allocations: 0 / 467.4 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.006776, allocations: 1 kB / 467.4 MB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.006901, allocations: 101.4 kB / 467.5 MB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.006903, allocations: 1.875 kB / 467.5 MB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.26e-05/0.006925, allocations: 11.66 kB / 467.5 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.006926, allocations: 2.344 kB / 467.5 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-06/0.00693, allocations: 4 kB / 467.5 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.006932, allocations: 0.75 kB / 467.5 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006933, allocations: 0 / 467.5 MB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.97e-05/0.007023, allocations: 188.3 kB / 467.7 MB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.539e-05/0.007038, allocations: 15.91 kB / 467.7 MB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.00705, allocations: 1.422 kB / 467.7 MB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.912e-05/0.007089, allocations: 3.016 kB / 467.7 MB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.007115, allocations: 6.156 kB / 467.7 MB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.007118, allocations: 3.938 kB / 467.7 MB, free: 13.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.007176, allocations: 76.89 kB / 467.8 MB, free: 12.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007176, allocations: 0 / 467.8 MB, free: 12.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000165/0.007341, allocations: 32.5 kB / 467.8 MB, free: 12.96 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.0001275/0.007468, allocations: 111.6 kB / 467.9 MB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.475e-05/0.007523, allocations: 19.31 kB / 468 MB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.007527, allocations: 4 kB / 468 MB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.319e-05/0.00754, allocations: 9.516 kB / 468 MB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.00777, allocations: 50.91 kB / 468 MB, free: 12.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.00825, allocations: 305.3 kB / 468.3 MB, free: 12.47 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.683e-05/0.008297, allocations: 87.78 kB / 468.4 MB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.152e-05/0.008329, allocations: 6.297 kB / 468.4 MB, free: 12.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.008402, allocations: 71.3 kB / 468.5 MB, free: 12.29 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.008402, allocations: 0.9062 kB / 468.5 MB, free: 12.29 MB / 426.7 MB Notification: Performance of Templates: time 0.003485/0.01189, allocations: 1.948 MB / 470.4 MB, free: 10.55 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5757402167655528]