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.00138/0.00138, allocations: 96.42 kB / 20.45 MB, free: 1.262 MB / 14.72 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.001691/0.001691, allocations: 208.5 kB / 23.74 MB, free: 4.453 MB / 14.72 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.9884/0.9884, allocations: 149.9 MB / 463.8 MB, free: 10.33 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 67.25 kB / 0.6423 GB, free: 9.633 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.181, allocations: 89.17 MB / 0.7294 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02335/0.2043, allocations: 19.39 MB / 0.7483 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008359/0.2127, allocations: 4.796 MB / 0.753 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008143/0.2135, allocations: 27.75 kB / 0.753 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.2145, allocations: 282 kB / 0.7533 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003207/0.2177, allocations: 1.057 MB / 0.7543 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.2195, allocations: 0.6351 MB / 0.7549 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.2216, allocations: 1.466 MB / 0.7564 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006641/0.2223, allocations: 404.8 kB / 0.7568 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001512/0.2238, allocations: 0.7276 MB / 0.7575 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007465/0.2246, allocations: 489.9 kB / 0.7579 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.2247, allocations: 55.94 kB / 0.758 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.2259, allocations: 0.5692 MB / 0.7585 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.2261, allocations: 163.3 kB / 0.7587 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.2264, allocations: 266.7 kB / 0.7589 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.2278, allocations: 0.973 MB / 0.7599 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.2278, allocations: 0 / 0.7599 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2278, allocations: 0 / 0.7599 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.2278, allocations: 0 / 0.7599 GB, free: 1.164 MB / 0.5762 GB 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.001976/0.2298, allocations: 0.9695 MB / 0.7608 GB, free: 168 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2298, allocations: 8.031 kB / 0.7609 GB, free: 160 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3354/0.5652, allocations: 244.7 kB / 0.7611 GB, free: 37.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.5665, allocations: 0.5155 MB / 0.7616 GB, free: 37.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.5665, allocations: 23.09 kB / 0.7616 GB, free: 37.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.266e-05/0.5666, allocations: 32.12 kB / 0.7616 GB, free: 37.33 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/0.5674, allocations: 392.3 kB / 0.762 GB, free: 37.26 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5674, allocations: 0 / 0.762 GB, free: 37.26 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.5674, allocations: 11.31 kB / 0.762 GB, free: 37.26 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.5675, allocations: 8.812 kB / 0.762 GB, free: 37.26 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000792/0.5682, allocations: 339.3 kB / 0.7624 GB, free: 37.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.5704, allocations: 1.046 MB / 0.7634 GB, free: 37 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008566/0.5712, allocations: 357 kB / 0.7637 GB, free: 36.97 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/0.5716, allocations: 170.1 kB / 0.7639 GB, free: 36.96 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.5718, allocations: 52.56 kB / 0.7639 GB, free: 36.96 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.5718, allocations: 34.94 kB / 0.764 GB, free: 36.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 2.355e-06/0.5718, allocations: 1.078 kB / 0.764 GB, free: 36.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.00132/0.5731, allocations: 0.501 MB / 0.7645 GB, free: 36.87 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.5732, allocations: 58.5 kB / 0.7645 GB, free: 36.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000805/0.574, allocations: 0.5857 MB / 0.7651 GB, free: 36.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/0.574, allocations: 33.89 kB / 0.7651 GB, free: 36.65 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.5742, allocations: 268.1 kB / 0.7654 GB, free: 36.54 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.684e-05/0.5743, allocations: 67.97 kB / 0.7654 GB, free: 36.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.5745, allocations: 124 kB / 0.7656 GB, free: 36.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.121e-05/0.5746, allocations: 361.4 kB / 0.7659 GB, free: 36.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.5752, allocations: 240.8 kB / 0.7661 GB, free: 36.15 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007458/0.5759, allocations: 0.5764 MB / 0.7667 GB, free: 35.77 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.5769, allocations: 446.4 kB / 0.7671 GB, free: 35.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.577, allocations: 3.938 kB / 0.7671 GB, free: 35.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003364/0.5803, allocations: 0.8185 MB / 0.7679 GB, free: 35.65 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5803, allocations: 4.609 kB / 0.7679 GB, free: 35.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5803, allocations: 2.125 kB / 0.7679 GB, free: 35.65 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/0.5807, allocations: 103.6 kB / 0.768 GB, free: 35.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.5813, allocations: 114.8 kB / 0.7681 GB, free: 35.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004827/0.5818, allocations: 0.6059 MB / 0.7687 GB, free: 35.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009094/0.5827, allocations: 87.92 kB / 0.7688 GB, free: 35.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/0.5828, allocations: 26.16 kB / 0.7688 GB, free: 35.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007394/0.5835, allocations: 359.6 kB / 0.7692 GB, free: 35.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007474/0.5842, allocations: 0.5663 MB / 0.7697 GB, free: 34.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001031/0.5853, allocations: 442.3 kB / 0.7702 GB, free: 34.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.5853, allocations: 0.5469 kB / 0.7702 GB, free: 34.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001634/0.5869, allocations: 0.6165 MB / 0.7708 GB, free: 34.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.5869, allocations: 5.797 kB / 0.7708 GB, free: 34.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.5869, allocations: 1.375 kB / 0.7708 GB, free: 34.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.5869, allocations: 2.25 kB / 0.7708 GB, free: 34.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007312/0.5877, allocations: 131.6 kB / 0.7709 GB, free: 34.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.5877, allocations: 6.219 kB / 0.7709 GB, free: 34.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009195/0.5886, allocations: 99.61 kB / 0.771 GB, free: 34.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.5886, allocations: 22.89 kB / 0.771 GB, free: 34.51 MB / 0.5762 GB 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.0001578/0.5888, allocations: 200.3 kB / 0.7712 GB, free: 34.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.5889, allocations: 58.95 kB / 0.7713 GB, free: 34.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.5901, allocations: 482.6 kB / 0.7717 GB, free: 34.24 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.5901, allocations: 2.688 kB / 0.7717 GB, free: 34.24 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5901, allocations: 1.156 kB / 0.7717 GB, free: 34.24 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5901, allocations: 1.406 kB / 0.7717 GB, free: 34.24 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.5925, allocations: 0.988 MB / 0.7727 GB, free: 33.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.5925, allocations: 1 kB / 0.7727 GB, free: 33.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001612/0.5941, allocations: 145.2 kB / 0.7728 GB, free: 33.94 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.5941, allocations: 3.266 kB / 0.7728 GB, free: 33.94 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.5941, allocations: 5.219 kB / 0.7728 GB, free: 33.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.5952, allocations: 0.694 MB / 0.7735 GB, free: 33.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5952, allocations: 0.8438 kB / 0.7735 GB, free: 33.35 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.5963, allocations: 0.5448 MB / 0.7741 GB, free: 33.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.5966, allocations: 94 kB / 0.7741 GB, free: 33.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.169e-05/0.5967, allocations: 6.5 kB / 0.7741 GB, free: 33.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005952/0.5973, allocations: 46.33 kB / 0.7742 GB, free: 33.12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.519e-05/0.5973, allocations: 18.64 kB / 0.7742 GB, free: 33.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.5974, allocations: 10.23 kB / 0.7742 GB, free: 33.12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007057/0.5981, allocations: 420.2 kB / 0.7746 GB, free: 33.01 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5981, allocations: 0 / 0.7746 GB, free: 33.01 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001145/0.5992, allocations: 349.3 kB / 0.775 GB, free: 32.94 MB / 0.5762 GB 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.0005048/0.5997, allocations: 256.8 kB / 0.7752 GB, free: 32.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00224/0.602, allocations: 0.7453 MB / 0.7759 GB, free: 32.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.602, allocations: 1 kB / 0.7759 GB, free: 32.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.6039, allocations: 275.3 kB / 0.7762 GB, free: 32.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.605, allocations: 192.5 kB / 0.7764 GB, free: 32.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.6067, allocations: 0.9113 MB / 0.7773 GB, free: 31.94 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.607, allocations: 267.9 kB / 0.7775 GB, free: 31.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/0.6073, allocations: 54.17 kB / 0.7776 GB, free: 31.81 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/0.6073, allocations: 0 / 0.7776 GB, free: 31.81 MB / 0.5762 GB Notification: Performance of Templates: time 0.02202/0.6293, allocations: 12.47 MB / 0.7897 GB, free: 27.97 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.239889359101653] Failed to read output from testmodel.py, exit status != 0: 0.6379309627227485 0.649329377 0.418872887 Calling exit ...