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.0009665/0.0009665, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009274/0.0009274, allocations: 169 kB / 23.27 MB, free: 1.223 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.919/0.919, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.002356/0.002356, allocations: 250 kB / 260.5 MB, free: 12.68 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.7121/0.7121, allocations: 138.4 MB / 455.5 MB, free: 30.04 MB / 410.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.523e-06/1.523e-06, allocations: 0 / 0.5556 GB, free: 15.92 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.779e-05/1.932e-05, allocations: 6.109 kB / 0.5556 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002513/0.002532, allocations: 1.76 MB / 0.5573 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005235/0.003056, allocations: 454.2 kB / 0.5577 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.262e-05/0.003088, allocations: 0 / 0.5577 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.003398, allocations: 131.4 kB / 0.5579 GB, free: 13.56 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.606e-05/0.003454, allocations: 59.61 kB / 0.5579 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.003674, allocations: 55.8 kB / 0.558 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.00378, allocations: 107.4 kB / 0.5581 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.162e-05/0.003812, allocations: 4 kB / 0.5581 GB, free: 13.34 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.00388, allocations: 47.83 kB / 0.5581 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.995e-05/0.00395, allocations: 43.88 kB / 0.5582 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.003962, allocations: 4 kB / 0.5582 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.004088, allocations: 75.78 kB / 0.5582 GB, free: 13.17 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.004149, allocations: 63.83 kB / 0.5583 GB, free: 13.11 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.004178, allocations: 35.88 kB / 0.5583 GB, free: 13.07 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.004354, allocations: 171.3 kB / 0.5585 GB, free: 12.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.004356, allocations: 0 / 0.5585 GB, free: 12.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004356, allocations: 4 kB / 0.5585 GB, free: 12.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.004359, allocations: 0 / 0.5585 GB, free: 12.9 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.000378/0.004737, allocations: 0.4994 MB / 0.559 GB, free: 12.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.004773, allocations: 8.75 kB / 0.559 GB, free: 12.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.004803, allocations: 20.8 kB / 0.559 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.004904, allocations: 167.7 kB / 0.5592 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.004914, allocations: 384 / 0.5592 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.292e-06/0.00492, allocations: 4.375 kB / 0.5592 GB, free: 12.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.804e-05/0.005008, allocations: 58.94 kB / 0.5592 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.005014, allocations: 4.188 kB / 0.5592 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.75e-06/0.00502, allocations: 384 / 0.5592 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.005027, allocations: 4.125 kB / 0.5592 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.968e-05/0.005047, allocations: 11.92 kB / 0.5592 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.005296, allocations: 272.4 kB / 0.5595 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.667e-05/0.005332, allocations: 27.06 kB / 0.5595 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.343e-05/0.005346, allocations: 7.688 kB / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.00538, allocations: 4.062 kB / 0.5595 GB, free: 11.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.005402, allocations: 45.38 kB / 0.5596 GB, free: 11.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.005403, allocations: 4 kB / 0.5596 GB, free: 11.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001171/0.00552, allocations: 61.44 kB / 0.5597 GB, free: 11.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.005548, allocations: 51.41 kB / 0.5597 GB, free: 11.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.005699, allocations: 312.2 kB / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.005708, allocations: 29.64 kB / 0.56 GB, free: 11.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.638e-05/0.005785, allocations: 194.8 kB / 0.5602 GB, free: 10.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.517e-05/0.0058, allocations: 3.953 kB / 0.5602 GB, free: 10.97 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.005825, allocations: 23.38 kB / 0.5602 GB, free: 10.94 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.005946, allocations: 0.5079 MB / 0.5607 GB, free: 10.42 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-06/0.005956, allocations: 3.984 kB / 0.5607 GB, free: 10.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-06/0.005963, allocations: 4.125 kB / 0.5607 GB, free: 10.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.005986, allocations: 27.61 kB / 0.5608 GB, free: 10.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005987, allocations: 0 / 0.5608 GB, free: 10.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.142e-05/0.006039, allocations: 49.56 kB / 0.5608 GB, free: 10.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.006051, allocations: 8 kB / 0.5608 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.006055, allocations: 0 / 0.5608 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.006067, allocations: 3.938 kB / 0.5608 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.006114, allocations: 7.984 kB / 0.5608 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-06/0.006117, allocations: 0 / 0.5608 GB, free: 10.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.006141, allocations: 8.094 kB / 0.5608 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-06/0.006144, allocations: 0 / 0.5608 GB, free: 10.3 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.076e-05/0.006205, allocations: 152.6 kB / 0.561 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.946e-05/0.006224, allocations: 23.86 kB / 0.561 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.708e-05/0.006301, allocations: 62.58 kB / 0.5611 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.006304, allocations: 3.938 kB / 0.5611 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.006306, allocations: 0 / 0.5611 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.006309, allocations: 0 / 0.5611 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.006427, allocations: 137.2 kB / 0.5612 GB, free: 9.887 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006428, allocations: 0 / 0.5612 GB, free: 9.887 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.006446, allocations: 12.03 kB / 0.5612 GB, free: 9.875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.006447, allocations: 0 / 0.5612 GB, free: 9.875 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.006454, allocations: 0 / 0.5612 GB, free: 9.875 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.006457, allocations: 3.984 kB / 0.5612 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006458, allocations: 0 / 0.5612 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.839e-05/0.006546, allocations: 199.7 kB / 0.5614 GB, free: 9.656 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.501e-05/0.006561, allocations: 19.86 kB / 0.5614 GB, free: 9.637 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.006574, allocations: 8 kB / 0.5614 GB, free: 9.629 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.791e-05/0.006612, allocations: 3.984 kB / 0.5614 GB, free: 9.625 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.006643, allocations: 7.938 kB / 0.5614 GB, free: 9.617 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.006646, allocations: 4.031 kB / 0.5615 GB, free: 9.613 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.297e-05/0.006729, allocations: 205 kB / 0.5616 GB, free: 9.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006729, allocations: 0 / 0.5616 GB, free: 9.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001737/0.006902, allocations: 39.92 kB / 0.5617 GB, free: 9.371 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.0001292/0.007032, allocations: 123.2 kB / 0.5618 GB, free: 9.242 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.458e-05/0.007086, allocations: 11.69 kB / 0.5618 GB, free: 9.227 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.007087, allocations: 0 / 0.5618 GB, free: 9.227 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.536e-05/0.007103, allocations: 15.62 kB / 0.5618 GB, free: 9.207 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.007359, allocations: 55.31 kB / 0.5619 GB, free: 9.156 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005235/0.007883, allocations: 307 kB / 0.5622 GB, free: 8.828 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.461e-05/0.007937, allocations: 87.25 kB / 0.5623 GB, free: 8.723 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.127e-05/0.007968, allocations: 4 kB / 0.5623 GB, free: 8.719 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.008043, allocations: 90.17 kB / 0.5623 GB, free: 8.629 MB / 490.7 MB Notification: Performance of SimCode: time 7.41e-07/0.008044, allocations: 0 / 0.5623 GB, free: 8.629 MB / 490.7 MB Notification: Performance of Templates: time 0.00349/0.01153, allocations: 2.004 MB / 0.5643 GB, free: 6.699 MB / 490.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.4978316272608936]