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.0006433/0.0006433, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0007492/0.0007492, allocations: 177.9 kB / 23.22 MB, free: 1.352 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.8819/0.8819, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.00129/0.00129, allocations: 236.7 kB / 260.2 MB, free: 13.02 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.6616/0.6616, allocations: 138.4 MB / 455.1 MB, free: 30 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.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.693e-06/1.693e-06, allocations: 0 / 0.6475 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.783e-05, allocations: 9.234 kB / 0.6475 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.257/0.257, allocations: 1.702 MB / 0.6492 GB, free: 56.32 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006192/0.2577, allocations: 458.6 kB / 0.6496 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.746e-05/0.2577, allocations: 3.469 kB / 0.6496 GB, free: 56.24 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003638/0.2581, allocations: 135.8 kB / 0.6497 GB, free: 56.21 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.557e-05/0.2581, allocations: 54.73 kB / 0.6498 GB, free: 56.19 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002762/0.2584, allocations: 67.09 kB / 0.6498 GB, free: 56.17 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000135/0.2585, allocations: 103.9 kB / 0.6499 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.2586, allocations: 5.578 kB / 0.65 GB, free: 56.13 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.482e-05/0.2587, allocations: 44.23 kB / 0.65 GB, free: 56.12 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.419e-05/0.2587, allocations: 50.58 kB / 0.65 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.2588, allocations: 2.281 kB / 0.65 GB, free: 56.11 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.2589, allocations: 80.12 kB / 0.6501 GB, free: 56.1 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 8.781e-05/0.259, allocations: 58.55 kB / 0.6502 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.468e-05/0.259, allocations: 36.91 kB / 0.6502 GB, free: 56.08 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.2593, allocations: 196.2 kB / 0.6504 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2593, allocations: 1.344 kB / 0.6504 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2593, allocations: 0.6562 kB / 0.6504 GB, free: 56.04 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2593, allocations: 2.344 kB / 0.6504 GB, free: 56.04 MB / 0.5573 GB 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.0004318/0.2598, allocations: 411.6 kB / 0.6508 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.2598, allocations: 11.69 kB / 0.6508 GB, free: 55.7 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.2598, allocations: 21.3 kB / 0.6508 GB, free: 55.68 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.957e-05/0.2599, allocations: 158.1 kB / 0.651 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.2599, allocations: 1.906 kB / 0.651 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.26, allocations: 1.469 kB / 0.651 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.2601, allocations: 69.34 kB / 0.651 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.2601, allocations: 0.9688 kB / 0.6511 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2601, allocations: 384 / 0.6511 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2601, allocations: 6 kB / 0.6511 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.2602, allocations: 59.31 kB / 0.6511 GB, free: 55.49 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.2606, allocations: 270.2 kB / 0.6514 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.545e-05/0.2607, allocations: 66.78 kB / 0.6514 GB, free: 55.27 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.491e-05/0.2607, allocations: 35.59 kB / 0.6515 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.2608, allocations: 8.719 kB / 0.6515 GB, free: 55.26 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.2608, allocations: 37.17 kB / 0.6515 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2608, allocations: 0.6562 kB / 0.6515 GB, free: 55.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2): time 0.0002589/0.261, allocations: 141 kB / 0.6516 GB, free: 55.17 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.273e-05/0.2611, allocations: 51.97 kB / 0.6517 GB, free: 55.11 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.2612, allocations: 254.9 kB / 0.6519 GB, free: 55.01 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.2612, allocations: 29.36 kB / 0.652 GB, free: 54.98 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.2613, allocations: 132 kB / 0.6521 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.2613, allocations: 12.41 kB / 0.6521 GB, free: 54.89 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.2613, allocations: 18.8 kB / 0.6521 GB, free: 54.87 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.041e-05/0.2614, allocations: 332.1 kB / 0.6524 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.232e-05/0.2614, allocations: 26.64 kB / 0.6525 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.314e-05/0.2615, allocations: 38.47 kB / 0.6525 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.175e-05/0.2616, allocations: 63.02 kB / 0.6526 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.2616, allocations: 0 / 0.6526 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001231/0.2617, allocations: 107 kB / 0.6527 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2617, allocations: 9.938 kB / 0.6527 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.2617, allocations: 0.5 kB / 0.6527 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.2617, allocations: 3.312 kB / 0.6527 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.2618, allocations: 8.391 kB / 0.6527 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.2618, allocations: 6.781 kB / 0.6527 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.2618, allocations: 5.688 kB / 0.6527 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.2618, allocations: 2.219 kB / 0.6527 GB, free: 54.49 MB / 0.5573 GB 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.445e-05/0.2619, allocations: 138.6 kB / 0.6528 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.2619, allocations: 17.16 kB / 0.6528 GB, free: 54.37 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.2621, allocations: 113.8 kB / 0.653 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.2621, allocations: 4.156 kB / 0.653 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2621, allocations: 3.969 kB / 0.653 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2621, allocations: 1.125 kB / 0.653 GB, free: 54.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.2622, allocations: 163.4 kB / 0.6531 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2622, allocations: 0.6875 kB / 0.6531 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.2623, allocations: 12.03 kB / 0.6531 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2623, allocations: 0 / 0.6531 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.2623, allocations: 0.7188 kB / 0.6531 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2623, allocations: 5.297 kB / 0.6531 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2623, allocations: 1 kB / 0.6531 GB, free: 54.21 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.2624, allocations: 206.4 kB / 0.6533 GB, free: 54.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.2624, allocations: 21.94 kB / 0.6534 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.2624, allocations: 1.938 kB / 0.6534 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.689e-05/0.2625, allocations: 13 kB / 0.6534 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.2625, allocations: 1.031 kB / 0.6534 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.2625, allocations: 1.875 kB / 0.6534 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001012/0.2626, allocations: 189.3 kB / 0.6536 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2626, allocations: 0 / 0.6536 GB, free: 53.97 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001946/0.2628, allocations: 36.61 kB / 0.6536 GB, free: 53.97 MB / 0.5573 GB 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.0001666/0.263, allocations: 136 kB / 0.6537 GB, free: 53.87 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001434/0.2631, allocations: 70.3 kB / 0.6538 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2631, allocations: 0 / 0.6538 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.633e-05/0.2632, allocations: 30.3 kB / 0.6538 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.2635, allocations: 46.23 kB / 0.6539 GB, free: 53.86 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.264, allocations: 368.9 kB / 0.6542 GB, free: 53.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.444e-05/0.264, allocations: 124.5 kB / 0.6543 GB, free: 53.56 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.2641, allocations: 11.41 kB / 0.6543 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.2641, allocations: 0 / 0.6543 GB, free: 53.55 MB / 0.5573 GB Notification: Performance of Templates: time 0.002898/0.267, allocations: 1.946 MB / 0.6562 GB, free: 53.45 MB / 0.5573 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3656287072226405] Failed to read output from testmodel.py, exit status != 0: 0.27219555620104074 0.27886919600000004 0.018079339 Calling exit ...