Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.001279/0.001279, allocations: 80.94 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.001478/0.001478, allocations: 177.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.9928/0.9928, allocations: 177.2 MB / 203.8 MB, free: 5.488 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.001607/0.001607, allocations: 240.5 kB / 260.5 MB, free: 12.71 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.6806/0.6806, allocations: 138.4 MB / 402.2 MB, free: 0.5703 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.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.696e-06/9.748e-06, allocations: 3.484 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002055/0.002065, allocations: 1.768 MB / 464.1 MB, free: 15.76 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006391/0.002704, allocations: 0.5004 MB / 464.6 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.002733, allocations: 0 / 464.6 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.003036, allocations: 132.9 kB / 464.7 MB, free: 15.39 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.952e-05/0.003105, allocations: 61.12 kB / 464.8 MB, free: 15.35 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.003333, allocations: 73.3 kB / 464.8 MB, free: 15.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.003457, allocations: 100.3 kB / 464.9 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.316e-05/0.00349, allocations: 4.297 kB / 464.9 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.003559, allocations: 49.06 kB / 465 MB, free: 15.26 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.003635, allocations: 46.25 kB / 465 MB, free: 15.25 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.003646, allocations: 2.625 kB / 465 MB, free: 15.25 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.003785, allocations: 73.98 kB / 465.1 MB, free: 15.23 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.003851, allocations: 60.78 kB / 465.2 MB, free: 15.2 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.003888, allocations: 40.28 kB / 465.2 MB, free: 15.19 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.004085, allocations: 164.7 kB / 465.4 MB, free: 15.13 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004086, allocations: 1.719 kB / 465.4 MB, free: 15.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004087, allocations: 0 / 465.4 MB, free: 15.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.00409, allocations: 0 / 465.4 MB, free: 15.13 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.0003391/0.004429, allocations: 383.5 kB / 465.7 MB, free: 14.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.004459, allocations: 9.938 kB / 465.7 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.004489, allocations: 10.73 kB / 465.8 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.004598, allocations: 166.9 kB / 465.9 MB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.004608, allocations: 5.969 kB / 465.9 MB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.004617, allocations: 3.625 kB / 465.9 MB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.004721, allocations: 58.62 kB / 466 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.00473, allocations: 2 kB / 466 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.004735, allocations: 384 / 466 MB, free: 14.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.004743, allocations: 4.875 kB / 466 MB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.004764, allocations: 6.281 kB / 466 MB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.004996, allocations: 174.6 kB / 466.2 MB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.082e-05/0.005046, allocations: 71.55 kB / 466.2 MB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.355e-05/0.00506, allocations: 7.219 kB / 466.2 MB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.374e-05/0.005094, allocations: 14.66 kB / 466.3 MB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.005115, allocations: 31.72 kB / 466.3 MB, free: 14.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.005116, allocations: 1.531 kB / 466.3 MB, free: 14.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001035/0.00522, allocations: 47.92 kB / 466.3 MB, free: 14.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.005248, allocations: 52.06 kB / 466.4 MB, free: 14.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.005377, allocations: 222.1 kB / 466.6 MB, free: 14.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.005387, allocations: 31.83 kB / 466.6 MB, free: 14.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.089e-05/0.005427, allocations: 112.3 kB / 466.7 MB, free: 13.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.00544, allocations: 6.016 kB / 466.8 MB, free: 13.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.005462, allocations: 13.31 kB / 466.8 MB, free: 13.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.944e-05/0.005541, allocations: 334.9 kB / 467.1 MB, free: 13.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.005551, allocations: 4.109 kB / 467.1 MB, free: 13.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.624e-06/0.005558, allocations: 3.734 kB / 467.1 MB, free: 13.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.634e-05/0.005585, allocations: 14.47 kB / 467.1 MB, free: 13.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.005586, allocations: 1.125 kB / 467.1 MB, free: 13.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.896e-05/0.005635, allocations: 41.64 kB / 467.2 MB, free: 13.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/0.005644, allocations: 7.609 kB / 467.2 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.005647, allocations: 0 / 467.2 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.005658, allocations: 5.312 kB / 467.2 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.433e-05/0.005703, allocations: 11.69 kB / 467.2 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.005705, allocations: 1.531 kB / 467.2 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.475e-05/0.00573, allocations: 3.688 kB / 467.2 MB, free: 13.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.005735, allocations: 3.984 kB / 467.2 MB, free: 13.53 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.291e-05/0.005787, allocations: 113.3 kB / 467.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.81e-05/0.005806, allocations: 9.375 kB / 467.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.005873, allocations: 56.91 kB / 467.4 MB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.005875, allocations: 8.375 kB / 467.4 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.005876, allocations: 1.031 kB / 467.4 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.005879, allocations: 1.828 kB / 467.4 MB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.005982, allocations: 93.14 kB / 467.5 MB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.005982, allocations: 1.125 kB / 467.5 MB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.791e-05/0.006, allocations: 9.453 kB / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.006001, allocations: 0 / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-06/0.006005, allocations: 1.531 kB / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.006006, allocations: 3.938 kB / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.006008, allocations: 0.875 kB / 467.5 MB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.859e-05/0.006086, allocations: 197.1 kB / 467.7 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.433e-05/0.006101, allocations: 17.17 kB / 467.7 MB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.006112, allocations: 0.75 kB / 467.7 MB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.754e-05/0.00615, allocations: 6.516 kB / 467.7 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.006173, allocations: 1.453 kB / 467.7 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-06/0.006176, allocations: 3.938 kB / 467.7 MB, free: 13.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.571e-05/0.006231, allocations: 78.34 kB / 467.8 MB, free: 12.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006231, allocations: 0 / 467.8 MB, free: 12.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001556/0.006387, allocations: 41.09 kB / 467.8 MB, free: 12.92 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.0001361/0.006523, allocations: 111.9 kB / 467.9 MB, free: 12.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.362e-05/0.006577, allocations: 24.45 kB / 468 MB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.006579, allocations: 0 / 468 MB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.357e-05/0.006593, allocations: 9.562 kB / 468 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.0002122/0.006805, allocations: 48.81 kB / 468 MB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004732/0.007278, allocations: 308.2 kB / 468.3 MB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.206e-05/0.00732, allocations: 79.84 kB / 468.4 MB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.899e-05/0.007349, allocations: 5.25 kB / 468.4 MB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.062e-05/0.00742, allocations: 79.33 kB / 468.5 MB, free: 12.26 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.007421, allocations: 0 / 468.5 MB, free: 12.26 MB / 426.7 MB Notification: Performance of Templates: time 0.003347/0.01077, allocations: 1.987 MB / 470.5 MB, free: 10.48 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6013991171494126]