Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.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.001217/0.001217, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001156/0.001156, allocations: 169 kB / 24.14 MB, free: 360 kB / 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.016/1.016, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.7365/0.7365, allocations: 115 MB / 376 MB, free: 7.5 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 428.7 MB, free: 2.828 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.276e-05/2.42e-05, allocations: 2.312 kB / 428.7 MB, free: 2.824 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.0085/0.008524, allocations: 9.092 MB / 437.8 MB, free: 9.688 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005359/0.01388, allocations: 3.438 MB / 441.2 MB, free: 6.238 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007517/0.01463, allocations: 27.75 kB / 441.2 MB, free: 6.211 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.01523, allocations: 174.5 kB / 441.4 MB, free: 6.039 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.01749, allocations: 0.7847 MB / 442.2 MB, free: 5.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.01892, allocations: 0.6508 MB / 442.9 MB, free: 4.598 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001813/0.02073, allocations: 1.41 MB / 444.3 MB, free: 3.184 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007043/0.02144, allocations: 393.8 kB / 444.7 MB, free: 2.793 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.02291, allocations: 0.7596 MB / 445.4 MB, free: 2.031 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007384/0.02365, allocations: 430.8 kB / 445.8 MB, free: 1.609 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.02377, allocations: 51.94 kB / 445.9 MB, free: 1.559 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.02479, allocations: 491 kB / 446.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.02494, allocations: 163.3 kB / 446.5 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002483/0.02519, allocations: 227.4 kB / 446.7 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.225/0.2502, allocations: 0.764 MB / 447.5 MB, free: 20.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2502, allocations: 0 / 447.5 MB, free: 20.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2502, allocations: 0 / 447.5 MB, free: 20.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.399e-05/0.2502, allocations: 1.562 kB / 447.5 MB, free: 20.1 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001793/0.252, allocations: 0.8861 MB / 448.4 MB, free: 19.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.2521, allocations: 11.69 kB / 448.4 MB, free: 19.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009409/0.253, allocations: 236.6 kB / 448.6 MB, free: 19.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/0.2537, allocations: 435.4 kB / 449.1 MB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.2537, allocations: 21.59 kB / 449.1 MB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.2538, allocations: 37.5 kB / 449.1 MB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004252/0.2542, allocations: 263.7 kB / 449.4 MB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.2542, allocations: 2.281 kB / 449.4 MB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.2542, allocations: 13.86 kB / 449.4 MB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.2542, allocations: 5.844 kB / 449.4 MB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.2544, allocations: 92.92 kB / 449.5 MB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.2558, allocations: 0.6592 MB / 450.1 MB, free: 19.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.2561, allocations: 187.6 kB / 450.3 MB, free: 19.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.2562, allocations: 64.69 kB / 450.4 MB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.2563, allocations: 32.78 kB / 450.4 MB, free: 19.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.2564, allocations: 38.83 kB / 450.5 MB, free: 19.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 1.863e-06/0.2564, allocations: 0 / 450.5 MB, free: 19.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004026/0.2568, allocations: 186.1 kB / 450.6 MB, free: 19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.2568, allocations: 53.41 kB / 450.7 MB, free: 18.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.2572, allocations: 474.1 kB / 451.2 MB, free: 18.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.2572, allocations: 32.55 kB / 451.2 MB, free: 18.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.2573, allocations: 215.2 kB / 451.4 MB, free: 18.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.2574, allocations: 62.39 kB / 451.5 MB, free: 18.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.2575, allocations: 116.3 kB / 451.6 MB, free: 18.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.2576, allocations: 368.4 kB / 451.9 MB, free: 18.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.2578, allocations: 73.47 kB / 452 MB, free: 18.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.258, allocations: 411.5 kB / 452.4 MB, free: 17.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.2583, allocations: 195.2 kB / 452.6 MB, free: 17.84 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2583, allocations: 3.672 kB / 452.6 MB, free: 17.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001228/0.2595, allocations: 451.9 kB / 453 MB, free: 17.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.2595, allocations: 5.531 kB / 453.1 MB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2595, allocations: 1.469 kB / 453.1 MB, free: 17.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.2606, allocations: 243.6 kB / 453.3 MB, free: 17.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/0.2609, allocations: 99.95 kB / 453.4 MB, free: 17.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000272/0.2612, allocations: 0.5454 MB / 453.9 MB, free: 17.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.2615, allocations: 64.36 kB / 454 MB, free: 17.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.105e-05/0.2615, allocations: 15.69 kB / 454 MB, free: 17.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002055/0.2618, allocations: 162.6 kB / 454.2 MB, free: 17.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002167/0.262, allocations: 414.2 kB / 454.6 MB, free: 16.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002674/0.2622, allocations: 186.5 kB / 454.8 MB, free: 16.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.2622, allocations: 0 / 454.8 MB, free: 16.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0004139/0.2626, allocations: 282.3 kB / 455 MB, free: 16.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.2627, allocations: 7.359 kB / 455 MB, free: 16.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.2627, allocations: 0.6562 kB / 455 MB, free: 16.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-06/0.2627, allocations: 2.844 kB / 455 MB, free: 16.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.263, allocations: 115.1 kB / 455.2 MB, free: 16.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.263, allocations: 3.453 kB / 455.2 MB, free: 16.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.2633, allocations: 62.89 kB / 455.2 MB, free: 16.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.2633, allocations: 15.12 kB / 455.2 MB, free: 16.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.2634, allocations: 204.2 kB / 455.4 MB, free: 16.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.2635, allocations: 37.34 kB / 455.5 MB, free: 16.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003778/0.2638, allocations: 233 kB / 455.7 MB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.2639, allocations: 3.906 kB / 455.7 MB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.2639, allocations: 0.5312 kB / 455.7 MB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2639, allocations: 7.734 kB / 455.7 MB, free: 16.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009157/0.2648, allocations: 0.6621 MB / 456.4 MB, free: 16.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2648, allocations: 5.938 kB / 456.4 MB, free: 16.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/0.2654, allocations: 131.2 kB / 456.5 MB, free: 16.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.2654, allocations: 2.969 kB / 456.5 MB, free: 16.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.2654, allocations: 9.156 kB / 456.5 MB, free: 16.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003871/0.2658, allocations: 0.6398 MB / 457.2 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2658, allocations: 5.875 kB / 457.2 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.2661, allocations: 354.8 kB / 457.5 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.2662, allocations: 62.97 kB / 457.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.2663, allocations: 9.75 kB / 457.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.2665, allocations: 33.56 kB / 457.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.2665, allocations: 19.11 kB / 457.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.2665, allocations: 12.38 kB / 457.6 MB, free: 15.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002266/0.2668, allocations: 217.1 kB / 457.9 MB, free: 15.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2668, allocations: 0 / 457.9 MB, free: 15.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006754/0.2674, allocations: 324.4 kB / 458.2 MB, free: 15.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002971/0.2677, allocations: 177.3 kB / 458.3 MB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006843/0.2684, allocations: 354.1 kB / 458.7 MB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/0.2684, allocations: 9.094 kB / 458.7 MB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006463/0.2691, allocations: 178.9 kB / 458.9 MB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005666/0.2696, allocations: 206.5 kB / 459.1 MB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.2708, allocations: 0.8083 MB / 459.9 MB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.539e-05/0.2709, allocations: 126.3 kB / 460 MB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000409/0.2713, allocations: 136.4 kB / 460.1 MB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.2716, allocations: 205.6 kB / 460.3 MB, free: 14.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2716, allocations: 0 / 460.3 MB, free: 14.45 MB / 410.7 MB Notification: Performance of Templates: time 0.01615/0.2878, allocations: 15.06 MB / 475.4 MB, free: 3.773 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.098417814821005]