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.001336/0.001336, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001773/0.001773, allocations: 167.6 kB / 24.84 MB, free: 9.207 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 1.062/1.062, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.6154/0.6154, allocations: 115 MB / 376.8 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.403e-06/1.403e-06, allocations: 0 / 482.7 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.319e-05/2.46e-05, allocations: 3.094 kB / 482.7 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.01025/0.01027, allocations: 9.045 MB / 491.8 MB, free: 5.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005231/0.01551, allocations: 3.378 MB / 495.2 MB, free: 3.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006983/0.0162, allocations: 26.06 kB / 495.2 MB, free: 3.305 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005539/0.01676, allocations: 179.1 kB / 495.4 MB, free: 3.203 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.01862, allocations: 0.7831 MB / 496.1 MB, free: 2.754 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.02003, allocations: 0.65 MB / 496.8 MB, free: 2.445 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001868/0.02189, allocations: 1.41 MB / 498.2 MB, free: 1.785 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007197/0.02261, allocations: 396 kB / 498.6 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001437/0.02405, allocations: 0.7592 MB / 499.3 MB, free: 1.234 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007598/0.02481, allocations: 446.6 kB / 499.8 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.02497, allocations: 48.59 kB / 499.8 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.02602, allocations: 491.6 kB / 0.4886 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.02618, allocations: 164.4 kB / 0.4887 GB, free: 0.875 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000353/0.02653, allocations: 223.2 kB / 0.489 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.02801, allocations: 0.7626 MB / 0.4897 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.02802, allocations: 0.5 kB / 0.4897 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.02802, allocations: 1.094 kB / 0.4897 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.02804, allocations: 0.75 kB / 0.4897 GB, free: 0.4961 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.001964/0.03001, allocations: 1.043 MB / 0.4907 GB, free: 15.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.03004, allocations: 10.41 kB / 0.4907 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001566/0.03161, allocations: 267.9 kB / 0.491 GB, free: 15.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.03261, allocations: 495 kB / 0.4915 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.03264, allocations: 21.72 kB / 0.4915 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.718e-05/0.03272, allocations: 40.61 kB / 0.4915 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005967/0.03332, allocations: 250.4 kB / 0.4918 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.03333, allocations: 2.078 kB / 0.4918 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.03337, allocations: 11.19 kB / 0.4918 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.03338, allocations: 5.531 kB / 0.4918 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003289/0.03371, allocations: 113.7 kB / 0.4919 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.03595, allocations: 0.9713 MB / 0.4928 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.03643, allocations: 177.7 kB / 0.493 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.03659, allocations: 77.28 kB / 0.4931 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.03673, allocations: 32.73 kB / 0.4931 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.03676, allocations: 40.89 kB / 0.4931 GB, free: 14.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 2.485e-06/0.03676, allocations: 0 / 0.4931 GB, free: 14.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007894/0.03755, allocations: 251.8 kB / 0.4934 GB, free: 14.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.03759, allocations: 53.94 kB / 0.4934 GB, free: 14.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006868/0.03828, allocations: 0.5384 MB / 0.494 GB, free: 14.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.03833, allocations: 35.83 kB / 0.494 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.03859, allocations: 307.6 kB / 0.4943 GB, free: 13.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/0.03868, allocations: 66.83 kB / 0.4944 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003427/0.03902, allocations: 142.8 kB / 0.4945 GB, free: 13.71 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002386/0.03926, allocations: 0.5316 MB / 0.495 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.03955, allocations: 89.28 kB / 0.4951 GB, free: 13.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004992/0.04005, allocations: 455.2 kB / 0.4955 GB, free: 12.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.04056, allocations: 203.1 kB / 0.4957 GB, free: 12.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.04056, allocations: 1.094 kB / 0.4957 GB, free: 12.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002676/0.04324, allocations: 0.5528 MB / 0.4963 GB, free: 12.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.04326, allocations: 6.375 kB / 0.4963 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.04327, allocations: 0.7969 kB / 0.4963 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/0.04523, allocations: 250.8 kB / 0.4965 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.04574, allocations: 105.4 kB / 0.4966 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006001/0.04634, allocations: 0.8246 MB / 0.4974 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007418/0.04708, allocations: 58.48 kB / 0.4975 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.087e-05/0.04716, allocations: 20.22 kB / 0.4975 GB, free: 11.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004272/0.04759, allocations: 219.4 kB / 0.4977 GB, free: 11.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004451/0.04803, allocations: 452 kB / 0.4981 GB, free: 10.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004441/0.04848, allocations: 200.4 kB / 0.4983 GB, free: 10.69 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/0.04848, allocations: 4 kB / 0.4983 GB, free: 10.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0008678/0.04935, allocations: 368.4 kB / 0.4987 GB, free: 10.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.04936, allocations: 4 kB / 0.4987 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.04937, allocations: 0.5625 kB / 0.4987 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.04937, allocations: 7.531 kB / 0.4987 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.04995, allocations: 121.5 kB / 0.4988 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.04996, allocations: 4 kB / 0.4988 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000623/0.05059, allocations: 62.28 kB / 0.4989 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.05065, allocations: 22.61 kB / 0.4989 GB, free: 10.17 MB / 426.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.0002288/0.05088, allocations: 284.6 kB / 0.4992 GB, free: 9.887 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.05103, allocations: 63.61 kB / 0.4992 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007247/0.05175, allocations: 264.2 kB / 0.4995 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.05176, allocations: 4.609 kB / 0.4995 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.05177, allocations: 7.938 kB / 0.4995 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.05177, allocations: 2.562 kB / 0.4995 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.05359, allocations: 0.7418 MB / 0.5002 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.05359, allocations: 4 kB / 0.5002 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.05477, allocations: 142.8 kB / 0.5003 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.05478, allocations: 0.7031 kB / 0.5003 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.05482, allocations: 5.219 kB / 0.5004 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009456/0.05576, allocations: 0.9629 MB / 0.5013 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.05577, allocations: 4.656 kB / 0.5013 GB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006531/0.05642, allocations: 411.6 kB / 0.5017 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002658/0.05669, allocations: 100.9 kB / 0.5018 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.803e-05/0.05678, allocations: 12 kB / 0.5018 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.05719, allocations: 23.17 kB / 0.5018 GB, free: 7.328 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.05727, allocations: 24.75 kB / 0.5018 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.05731, allocations: 13.92 kB / 0.5019 GB, free: 7.301 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004182/0.05773, allocations: 346.6 kB / 0.5022 GB, free: 7.016 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.05773, allocations: 1.25 kB / 0.5022 GB, free: 7.016 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001236/0.05896, allocations: 322.1 kB / 0.5025 GB, free: 6.703 MB / 426.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.0004185/0.05938, allocations: 192.5 kB / 0.5027 GB, free: 6.523 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.06054, allocations: 418.9 kB / 0.5031 GB, free: 6.172 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.06055, allocations: 4 kB / 0.5031 GB, free: 6.168 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.06179, allocations: 191.5 kB / 0.5033 GB, free: 6.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.06281, allocations: 201.3 kB / 0.5035 GB, free: 5.875 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001838/0.06465, allocations: 0.8098 MB / 0.5042 GB, free: 5.066 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.06478, allocations: 124.8 kB / 0.5044 GB, free: 4.949 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006874/0.06547, allocations: 132 kB / 0.5045 GB, free: 4.836 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006789/0.06614, allocations: 250 kB / 0.5047 GB, free: 4.633 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.06615, allocations: 0 / 0.5047 GB, free: 4.633 MB / 426.7 MB Notification: Performance of Templates: time 0.01927/0.08541, allocations: 15.48 MB / 0.5199 GB, free: 5.879 MB / 442.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.079857512842864]