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.001622/0.001622, allocations: 92.22 kB / 20.43 MB, free: 4.141 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.001659/0.001659, allocations: 165 kB / 23.8 MB, free: 0.7695 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.07/1.07, allocations: 177.1 MB / 204.2 MB, free: 5.086 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.6553/0.6553, allocations: 114.9 MB / 375.7 MB, free: 7.551 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.363e-06/1.363e-06, allocations: 0 / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.118e-05, allocations: 3.5 kB / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.008161/0.008182, allocations: 9.137 MB / 490.6 MB, free: 5.777 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004133/0.01231, allocations: 3.411 MB / 494 MB, free: 3.496 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004642/0.01278, allocations: 26.41 kB / 494.1 MB, free: 3.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005646/0.01334, allocations: 171.4 kB / 494.2 MB, free: 3.387 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.01478, allocations: 0.786 MB / 495 MB, free: 2.934 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.01589, allocations: 0.6489 MB / 495.7 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.01753, allocations: 1.407 MB / 497.1 MB, free: 1.969 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005558/0.01809, allocations: 396.1 kB / 497.5 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008769/0.01897, allocations: 0.7271 MB / 498.2 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006507/0.01962, allocations: 438.6 kB / 498.6 MB, free: 1.293 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.985e-05/0.01972, allocations: 48.25 kB / 498.7 MB, free: 1.293 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007811/0.0205, allocations: 0.4969 MB / 499.2 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.02063, allocations: 165.4 kB / 499.3 MB, free: 1.062 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.02085, allocations: 225.1 kB / 499.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009983/0.02185, allocations: 0.7785 MB / 0.4886 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.02186, allocations: 1.031 kB / 0.4886 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.02186, allocations: 1.656 kB / 0.4886 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.02187, allocations: 0 / 0.4886 GB, free: 0.6719 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.001326/0.02319, allocations: 1.032 MB / 0.4896 GB, free: 15.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.02323, allocations: 9.469 kB / 0.4896 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/0.0242, allocations: 270.8 kB / 0.4899 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000743/0.02494, allocations: 0.504 MB / 0.4904 GB, free: 15.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.02497, allocations: 24.75 kB / 0.4904 GB, free: 15.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.736e-05/0.02503, allocations: 34.62 kB / 0.4904 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005054/0.02553, allocations: 280.4 kB / 0.4907 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.02555, allocations: 0 / 0.4907 GB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.02558, allocations: 10.06 kB / 0.4907 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.0256, allocations: 10.41 kB / 0.4907 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.02591, allocations: 145.8 kB / 0.4908 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.02761, allocations: 1.045 MB / 0.4919 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004569/0.02806, allocations: 210.7 kB / 0.4921 GB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.02823, allocations: 86.83 kB / 0.4921 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.02838, allocations: 36.09 kB / 0.4922 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.02841, allocations: 40.45 kB / 0.4922 GB, free: 14.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.734e-06/0.02841, allocations: 0 / 0.4922 GB, free: 14.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006536/0.02906, allocations: 279.8 kB / 0.4925 GB, free: 14.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.0291, allocations: 58.86 kB / 0.4925 GB, free: 14.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006077/0.0297, allocations: 0.5544 MB / 0.4931 GB, free: 14.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.02974, allocations: 34.86 kB / 0.4931 GB, free: 14.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.02995, allocations: 319.7 kB / 0.4934 GB, free: 13.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.425e-05/0.03001, allocations: 65.42 kB / 0.4935 GB, free: 13.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002069/0.03022, allocations: 131.5 kB / 0.4936 GB, free: 13.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.0304, allocations: 0.532 MB / 0.4941 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002385/0.03064, allocations: 112.1 kB / 0.4942 GB, free: 13.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004002/0.03104, allocations: 480.7 kB / 0.4947 GB, free: 12.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/0.03144, allocations: 238.9 kB / 0.4949 GB, free: 12.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.03145, allocations: 5.688 kB / 0.4949 GB, free: 12.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001679/0.03313, allocations: 0.6028 MB / 0.4955 GB, free: 12.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.03314, allocations: 4.938 kB / 0.4955 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.03315, allocations: 3.031 kB / 0.4955 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.0344, allocations: 253.3 kB / 0.4958 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.03473, allocations: 101.8 kB / 0.4959 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006554/0.03539, allocations: 0.825 MB / 0.4967 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.03572, allocations: 59.08 kB / 0.4967 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/0.03576, allocations: 22.08 kB / 0.4967 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002948/0.03606, allocations: 240.3 kB / 0.497 GB, free: 11.19 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003602/0.03642, allocations: 476.5 kB / 0.4974 GB, free: 10.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003525/0.03677, allocations: 234.9 kB / 0.4977 GB, free: 10.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.03677, allocations: 0 / 0.4977 GB, free: 10.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0006319/0.0374, allocations: 413.3 kB / 0.498 GB, free: 10.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.03741, allocations: 7.688 kB / 0.4981 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-06/0.03742, allocations: 0 / 0.4981 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.481e-06/0.03742, allocations: 4.609 kB / 0.4981 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.03776, allocations: 113.1 kB / 0.4982 GB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.03776, allocations: 4.609 kB / 0.4982 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.03808, allocations: 57.36 kB / 0.4982 GB, free: 9.891 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.03811, allocations: 27.73 kB / 0.4983 GB, free: 9.867 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.0001307/0.03824, allocations: 292.5 kB / 0.4985 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.03832, allocations: 52.33 kB / 0.4986 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005165/0.03884, allocations: 298.4 kB / 0.4989 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.03885, allocations: 8.453 kB / 0.4989 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.03885, allocations: 0.5625 kB / 0.4989 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.03886, allocations: 1.266 kB / 0.4989 GB, free: 9.281 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.0401, allocations: 0.8491 MB / 0.4997 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.0401, allocations: 5.219 kB / 0.4997 GB, free: 8.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006876/0.04079, allocations: 137.4 kB / 0.4998 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.04079, allocations: 0 / 0.4998 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.04082, allocations: 9.547 kB / 0.4998 GB, free: 8.398 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006041/0.04142, allocations: 0.9605 MB / 0.5008 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.04142, allocations: 8.484 kB / 0.5008 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004414/0.04187, allocations: 437.8 kB / 0.5012 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.04202, allocations: 96.7 kB / 0.5013 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.04207, allocations: 12.59 kB / 0.5013 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.0423, allocations: 27.27 kB / 0.5013 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.04236, allocations: 20.53 kB / 0.5014 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.04238, allocations: 10.25 kB / 0.5014 GB, free: 6.855 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003224/0.0427, allocations: 375.9 kB / 0.5017 GB, free: 6.543 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0427, allocations: 0 / 0.5017 GB, free: 6.543 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006269/0.04333, allocations: 331.4 kB / 0.502 GB, free: 6.223 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.0003278/0.04365, allocations: 209.6 kB / 0.5022 GB, free: 6.027 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008293/0.04448, allocations: 462.6 kB / 0.5027 GB, free: 5.629 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.04449, allocations: 3 kB / 0.5027 GB, free: 5.629 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007611/0.04525, allocations: 204.3 kB / 0.5029 GB, free: 5.469 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006339/0.04588, allocations: 209.8 kB / 0.5031 GB, free: 5.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.04727, allocations: 0.8138 MB / 0.5039 GB, free: 4.508 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.657e-05/0.04736, allocations: 128.8 kB / 0.504 GB, free: 4.387 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003782/0.04774, allocations: 166 kB / 0.5042 GB, free: 4.254 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.0479, allocations: 54.2 kB / 0.5042 GB, free: 4.207 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.0479, allocations: 0 / 0.5042 GB, free: 4.207 MB / 426.7 MB Notification: Performance of Templates: time 0.01578/0.06368, allocations: 14.17 MB / 0.5181 GB, free: 6.746 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.347058875951916]