Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001396/0.001396, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001639/0.001639, allocations: 161 kB / 24.16 MB, free: 336 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 0.986/0.986, 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/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.974/1.974, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.7752 GB, free: 5.359 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.711e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.00761/0.007627, allocations: 9.134 MB / 0.7841 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004331/0.01196, allocations: 3.441 MB / 0.7875 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004255/0.01238, allocations: 23.75 kB / 0.7875 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004538/0.01284, allocations: 179.6 kB / 0.7877 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.01431, allocations: 0.7816 MB / 0.7884 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.0154, allocations: 0.6387 MB / 0.789 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.01682, allocations: 1.406 MB / 0.7904 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000601/0.01742, allocations: 390.2 kB / 0.7908 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009124/0.01833, allocations: 0.7471 MB / 0.7915 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004902/0.01882, allocations: 418.7 kB / 0.7919 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.117e-05/0.0189, allocations: 48 kB / 0.792 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007414/0.01964, allocations: 0.4989 MB / 0.7925 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.01977, allocations: 159.3 kB / 0.7926 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.01995, allocations: 229.8 kB / 0.7928 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008957/0.02085, allocations: 0.7707 MB / 0.7936 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.02085, allocations: 0 / 0.7936 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.532e-06/0.02085, allocations: 0 / 0.7936 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.02086, allocations: 0 / 0.7936 GB, free: 2.539 MB / 0.7448 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.001165/0.02202, allocations: 0.8714 MB / 0.7944 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.02206, allocations: 13.28 kB / 0.7944 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008129/0.02287, allocations: 237.3 kB / 0.7947 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005278/0.0234, allocations: 426.8 kB / 0.7951 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.02342, allocations: 28.62 kB / 0.7951 GB, free: 0.9297 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.02346, allocations: 32 kB / 0.7951 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.02382, allocations: 261.6 kB / 0.7954 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.02383, allocations: 0.9375 kB / 0.7954 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.02386, allocations: 12 kB / 0.7954 GB, free: 0.6211 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.02386, allocations: 8.766 kB / 0.7954 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.02403, allocations: 91.45 kB / 0.7955 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.02523, allocations: 0.6562 MB / 0.7961 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002727/0.0255, allocations: 193.8 kB / 0.7963 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.935e-05/0.02559, allocations: 64.31 kB / 0.7964 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.0257, allocations: 31.97 kB / 0.7964 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.02573, allocations: 40.09 kB / 0.7964 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.532e-06/0.02573, allocations: 0 / 0.7964 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0003661/0.0261, allocations: 181.5 kB / 0.7966 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.02612, allocations: 56.41 kB / 0.7967 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.02644, allocations: 475 kB / 0.7971 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.02647, allocations: 39.59 kB / 0.7972 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 9.592e-05/0.02657, allocations: 205.7 kB / 0.7974 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.02661, allocations: 59.47 kB / 0.7974 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.02675, allocations: 114 kB / 0.7975 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.02686, allocations: 366.6 kB / 0.7979 GB, free: 14 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.027, allocations: 82.66 kB / 0.798 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.02724, allocations: 405.7 kB / 0.7983 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002645/0.0275, allocations: 208 kB / 0.7985 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.0275, allocations: 0 / 0.7985 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001475/0.02898, allocations: 444.7 kB / 0.799 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.02899, allocations: 4 kB / 0.799 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.029, allocations: 1.062 kB / 0.799 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/0.03054, allocations: 244 kB / 0.7992 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.03102, allocations: 107.8 kB / 0.7993 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000437/0.03146, allocations: 0.5499 MB / 0.7998 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.03195, allocations: 68.89 kB / 0.7999 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.03201, allocations: 17.05 kB / 0.7999 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000225/0.03224, allocations: 158.8 kB / 0.8001 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002419/0.03248, allocations: 405.7 kB / 0.8005 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002573/0.03274, allocations: 198.9 kB / 0.8007 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.03274, allocations: 0 / 0.8007 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.0003729/0.03311, allocations: 277.1 kB / 0.8009 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.03312, allocations: 4.812 kB / 0.8009 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-06/0.03312, allocations: 0 / 0.8009 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.182e-06/0.03313, allocations: 8.875 kB / 0.8009 GB, free: 10.63 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.03353, allocations: 129 kB / 0.8011 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.03354, allocations: 3.938 kB / 0.8011 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.03383, allocations: 68.11 kB / 0.8011 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.03386, allocations: 16.98 kB / 0.8011 GB, free: 10.43 MB / 0.7605 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.0001249/0.03399, allocations: 197.1 kB / 0.8013 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.03405, allocations: 31.97 kB / 0.8014 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.0344, allocations: 231.1 kB / 0.8016 GB, free: 9.973 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.03442, allocations: 11.98 kB / 0.8016 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.03442, allocations: 0 / 0.8016 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.03442, allocations: 0 / 0.8016 GB, free: 9.961 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000882/0.0353, allocations: 0.6675 MB / 0.8022 GB, free: 9.254 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.03531, allocations: 0 / 0.8022 GB, free: 9.254 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/0.03594, allocations: 137 kB / 0.8024 GB, free: 9.121 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.03594, allocations: 4.875 kB / 0.8024 GB, free: 9.117 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.03596, allocations: 11.98 kB / 0.8024 GB, free: 9.105 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004803/0.03644, allocations: 0.6382 MB / 0.803 GB, free: 8.445 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.03645, allocations: 4 kB / 0.803 GB, free: 8.441 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.03675, allocations: 347.3 kB / 0.8033 GB, free: 8.07 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.03686, allocations: 68.23 kB / 0.8034 GB, free: 8.004 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.03691, allocations: 8 kB / 0.8034 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.03711, allocations: 29.16 kB / 0.8034 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.03716, allocations: 20.81 kB / 0.8035 GB, free: 7.949 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.03718, allocations: 8 kB / 0.8035 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001771/0.03735, allocations: 216.4 kB / 0.8037 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.03735, allocations: 0.75 kB / 0.8037 GB, free: 7.73 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000584/0.03794, allocations: 327.4 kB / 0.804 GB, free: 7.41 MB / 0.7605 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.0002839/0.03822, allocations: 187.6 kB / 0.8042 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005756/0.0388, allocations: 345.1 kB / 0.8045 GB, free: 6.875 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.03881, allocations: 8.531 kB / 0.8045 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006433/0.03945, allocations: 176.7 kB / 0.8047 GB, free: 6.695 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005381/0.03999, allocations: 199.6 kB / 0.8049 GB, free: 6.508 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.0411, allocations: 0.8109 MB / 0.8057 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.038e-05/0.04117, allocations: 117.9 kB / 0.8058 GB, free: 5.52 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003744/0.04155, allocations: 132.2 kB / 0.8059 GB, free: 5.414 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/0.04195, allocations: 203.1 kB / 0.8061 GB, free: 5.215 MB / 0.7605 GB Notification: Performance of SimCode: time 8.11e-07/0.04195, allocations: 0 / 0.8061 GB, free: 5.215 MB / 0.7605 GB Notification: Performance of Templates: time 0.01709/0.05904, allocations: 14.81 MB / 0.8206 GB, free: 6.652 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.389449630863965]