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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.CheckValve") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 112.6 kB / 17.33 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 201.8 kB / 18.33 MB, free: 4.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 244.8 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8538/0.8538, allocations: 128.4 MB / 426.1 MB, free: 7.191 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 64.69 kB / 0.5911 GB, free: 21.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2138, allocations: 83.26 MB / 0.6725 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02482/0.2386, allocations: 21.02 MB / 0.693 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008774/0.2474, allocations: 5.22 MB / 0.6981 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008664/0.2483, allocations: 19.88 kB / 0.6981 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009962/0.2493, allocations: 289.9 kB / 0.6984 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003291/0.2526, allocations: 1.052 MB / 0.6994 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.2544, allocations: 0.6367 MB / 0.7 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002475/0.2569, allocations: 1.458 MB / 0.7014 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006969/0.2576, allocations: 428.2 kB / 0.7019 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.2591, allocations: 0.7005 MB / 0.7025 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007964/0.2599, allocations: 0.5057 MB / 0.703 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.974e-05/0.2599, allocations: 52 kB / 0.7031 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.2617, allocations: 0.7564 MB / 0.7038 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.2619, allocations: 155.4 kB / 0.704 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003872/0.2623, allocations: 326.2 kB / 0.7043 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.2639, allocations: 0.9925 MB / 0.7052 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2639, allocations: 0 / 0.7052 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2639, allocations: 0 / 0.7052 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.2639, allocations: 0 / 0.7052 GB, free: 2.191 MB / 0.5294 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.002259/0.2662, allocations: 1.05 MB / 0.7063 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.2662, allocations: 12.03 kB / 0.7063 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.2664, allocations: 72.52 kB / 0.7064 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.2675, allocations: 0.5845 MB / 0.7069 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.799e-05/0.2676, allocations: 20.56 kB / 0.7069 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.441e-05/0.2676, allocations: 36 kB / 0.707 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.2683, allocations: 296.8 kB / 0.7073 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.2683, allocations: 4 kB / 0.7073 GB, free: 24 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.2684, allocations: 12 kB / 0.7073 GB, free: 12 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.2684, allocations: 8 kB / 0.7073 GB, free: 4 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.2691, allocations: 262 kB / 0.7075 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.2716, allocations: 1.419 MB / 0.7089 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000612/0.2722, allocations: 234.5 kB / 0.7091 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.2725, allocations: 128.8 kB / 0.7093 GB, free: 13.84 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000496/0.273, allocations: 0.4908 MB / 0.7097 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.273, allocations: 38.56 kB / 0.7098 GB, free: 13.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.773e-06/0.273, allocations: 0 / 0.7098 GB, free: 13.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.001174/0.2742, allocations: 415.2 kB / 0.7102 GB, free: 12.79 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.2743, allocations: 51.41 kB / 0.7102 GB, free: 12.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009444/0.2752, allocations: 0.6123 MB / 0.7108 GB, free: 12.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.2753, allocations: 37.7 kB / 0.7109 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.2755, allocations: 261 kB / 0.7111 GB, free: 11.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.256e-05/0.2756, allocations: 67.44 kB / 0.7112 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.2759, allocations: 126 kB / 0.7113 GB, free: 11.6 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002647/0.2761, allocations: 362.8 kB / 0.7116 GB, free: 11.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005499/0.2767, allocations: 210.5 kB / 0.7118 GB, free: 11.03 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006348/0.2773, allocations: 283.9 kB / 0.7121 GB, free: 10.72 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000916/0.2782, allocations: 369.3 kB / 0.7125 GB, free: 10.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2782, allocations: 0 / 0.7125 GB, free: 10.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001567/0.2798, allocations: 0.5721 MB / 0.713 GB, free: 9.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.2798, allocations: 7.938 kB / 0.713 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.2798, allocations: 4 kB / 0.713 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002503/0.2801, allocations: 56.84 kB / 0.7131 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005524/0.2806, allocations: 107.8 kB / 0.7132 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005993/0.2812, allocations: 0.5641 MB / 0.7137 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008001/0.282, allocations: 83.72 kB / 0.7138 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/0.2821, allocations: 28.08 kB / 0.7138 GB, free: 8.898 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007073/0.2828, allocations: 316.9 kB / 0.7141 GB, free: 8.586 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006354/0.2834, allocations: 287.9 kB / 0.7144 GB, free: 8.273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008738/0.2843, allocations: 361.6 kB / 0.7148 GB, free: 7.914 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.406e-06/0.2843, allocations: 3.938 kB / 0.7148 GB, free: 7.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization_lambda0): time 0.001392/0.2857, allocations: 0.5593 MB / 0.7153 GB, free: 7.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2857, allocations: 4 kB / 0.7153 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/0.2857, allocations: 0 / 0.7153 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/0.2857, allocations: 4 kB / 0.7153 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.2863, allocations: 119.8 kB / 0.7154 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.075e-06/0.2863, allocations: 0 / 0.7154 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007728/0.2871, allocations: 87.78 kB / 0.7155 GB, free: 7.133 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.2871, allocations: 23.98 kB / 0.7155 GB, free: 7.109 MB / 0.545 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.0001968/0.2873, allocations: 200.1 kB / 0.7157 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.2874, allocations: 55.62 kB / 0.7158 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009621/0.2884, allocations: 385.5 kB / 0.7162 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.2884, allocations: 8 kB / 0.7162 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.2884, allocations: 0 / 0.7162 GB, free: 6.461 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.827e-05/0.2884, allocations: 3.938 kB / 0.7162 GB, free: 6.457 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.2903, allocations: 0.9971 MB / 0.7171 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.2903, allocations: 3.984 kB / 0.7171 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/0.2907, allocations: 79.92 kB / 0.7172 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2907, allocations: 0 / 0.7172 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.2907, allocations: 7.984 kB / 0.7172 GB, free: 5.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005652/0.2913, allocations: 0.629 MB / 0.7178 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.2913, allocations: 4.031 kB / 0.7178 GB, free: 4.645 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008871/0.2922, allocations: 483.7 kB / 0.7183 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.2924, allocations: 164.6 kB / 0.7185 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.612e-05/0.2925, allocations: 8 kB / 0.7185 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.2929, allocations: 47.81 kB / 0.7185 GB, free: 3.914 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.749e-05/0.293, allocations: 20.02 kB / 0.7185 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.293, allocations: 11.98 kB / 0.7186 GB, free: 3.883 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006964/0.2937, allocations: 442.8 kB / 0.719 GB, free: 3.453 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2937, allocations: 0 / 0.719 GB, free: 3.453 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001038/0.2947, allocations: 331.3 kB / 0.7193 GB, free: 3.129 MB / 0.545 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.0007096/0.2954, allocations: 296.7 kB / 0.7196 GB, free: 2.844 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001848/0.2973, allocations: 0.6203 MB / 0.7202 GB, free: 2.223 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2973, allocations: 0 / 0.7202 GB, free: 2.223 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/0.2988, allocations: 263 kB / 0.7204 GB, free: 1.969 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.2999, allocations: 213.8 kB / 0.7206 GB, free: 1.762 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.3015, allocations: 0.8557 MB / 0.7215 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/0.302, allocations: 0.8669 MB / 0.7223 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000503/0.3025, allocations: 152.4 kB / 0.7225 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.3026, allocations: 55.41 kB / 0.7225 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of SimCode: time 1.322e-06/0.3026, allocations: 0 / 0.7225 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.02456/0.3272, allocations: 12.17 MB / 0.7344 GB, free: 3.75 MB / 0.5606 GB 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]