Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 113.1 kB / 17.33 MB, free: 5.008 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.001576/0.001576, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.495/1.495, allocations: 225.6 MB / 244.8 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9829/0.9829, allocations: 128.4 MB / 426.1 MB, free: 7.207 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 66.78 kB / 0.5912 GB, free: 21.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1804, allocations: 83.27 MB / 0.6725 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.03666/0.2171, allocations: 30.88 MB / 0.7026 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0169/0.234, allocations: 10.81 MB / 0.7132 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.2355, allocations: 27.81 kB / 0.7132 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.237, allocations: 405.2 kB / 0.7136 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004071/0.2411, allocations: 1.184 MB / 0.7148 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.2439, allocations: 0.8586 MB / 0.7156 GB, free: 7.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00357/0.2475, allocations: 2.023 MB / 0.7176 GB, free: 5.539 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.2488, allocations: 0.584 MB / 0.7181 GB, free: 4.945 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.2514, allocations: 1.023 MB / 0.7191 GB, free: 3.918 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.2528, allocations: 0.6651 MB / 0.7198 GB, free: 3.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.253, allocations: 56 kB / 0.7198 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.2547, allocations: 0.62 MB / 0.7205 GB, free: 2.574 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.2549, allocations: 175.2 kB / 0.7206 GB, free: 2.402 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006551/0.2556, allocations: 425.7 kB / 0.721 GB, free: 1.984 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.2575, allocations: 1.089 MB / 0.7221 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2575, allocations: 0 / 0.7221 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.833e-06/0.2575, allocations: 0 / 0.7221 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.495e-05/0.2576, allocations: 0 / 0.7221 GB, free: 0.8906 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002126/0.2597, allocations: 1.167 MB / 0.7232 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.2598, allocations: 12.03 kB / 0.7232 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.2599, allocations: 100.3 kB / 0.7233 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.261, allocations: 0.5812 MB / 0.7239 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.261, allocations: 37 kB / 0.7239 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.031e-05/0.2611, allocations: 55.94 kB / 0.724 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008485/0.2619, allocations: 414.4 kB / 0.7244 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.262, allocations: 0 / 0.7244 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.262, allocations: 16 kB / 0.7244 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.262, allocations: 12 kB / 0.7244 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006188/0.2626, allocations: 303.8 kB / 0.7247 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002951/0.2656, allocations: 1.858 MB / 0.7265 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.266, allocations: 158.5 kB / 0.7267 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.2661, allocations: 76.81 kB / 0.7267 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003108/0.2665, allocations: 340.5 kB / 0.7271 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.2665, allocations: 38.5 kB / 0.7271 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.2665, allocations: 0 / 0.7271 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.0007402/0.2672, allocations: 311.5 kB / 0.7274 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.2673, allocations: 51.41 kB / 0.7274 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008095/0.2681, allocations: 0.6647 MB / 0.7281 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.934e-05/0.2681, allocations: 29.7 kB / 0.7281 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.2684, allocations: 360.5 kB / 0.7285 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.752e-05/0.2685, allocations: 75.34 kB / 0.7285 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.2686, allocations: 97.62 kB / 0.7286 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.2688, allocations: 374.7 kB / 0.729 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.2691, allocations: 120.5 kB / 0.7291 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.2694, allocations: 185.9 kB / 0.7293 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.2699, allocations: 241 kB / 0.7295 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.2699, allocations: 4 kB / 0.7295 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007738/0.2707, allocations: 394.6 kB / 0.7299 GB, free: 8.449 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.2707, allocations: 4 kB / 0.7299 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2707, allocations: 0 / 0.7299 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.2707, allocations: 4 kB / 0.7299 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.2718, allocations: 163.8 kB / 0.7301 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/0.2735, allocations: 2.36 MB / 0.7324 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.274, allocations: 59.95 kB / 0.7324 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.274, allocations: 23.98 kB / 0.7324 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004094/0.2744, allocations: 244.1 kB / 0.7327 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003099/0.2747, allocations: 182.2 kB / 0.7328 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004286/0.2751, allocations: 228.2 kB / 0.7331 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.2752, allocations: 0 / 0.7331 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization_lambda0): time 0.0007123/0.2759, allocations: 376.6 kB / 0.7334 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2759, allocations: 10.91 kB / 0.7334 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.2759, allocations: 0 / 0.7334 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.181e-06/0.2759, allocations: 4 kB / 0.7334 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.2763, allocations: 103.9 kB / 0.7335 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.2763, allocations: 0 / 0.7335 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.2767, allocations: 47.8 kB / 0.7336 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.2768, allocations: 16 kB / 0.7336 GB, free: 4.516 MB / 0.5606 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.2769, allocations: 196.1 kB / 0.7338 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.277, allocations: 75.45 kB / 0.7339 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006733/0.2777, allocations: 310.5 kB / 0.7342 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.2777, allocations: 4 kB / 0.7342 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2777, allocations: 192 / 0.7342 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2777, allocations: 4 kB / 0.7342 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.2791, allocations: 0.8956 MB / 0.735 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.2791, allocations: 0 / 0.735 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.2795, allocations: 71.95 kB / 0.7351 GB, free: 2.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.2795, allocations: 4 kB / 0.7351 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.2795, allocations: 4.125 kB / 0.7351 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.2809, allocations: 2.36 MB / 0.7374 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.2809, allocations: 0 / 0.7374 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.2815, allocations: 396.8 kB / 0.7378 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.2817, allocations: 164.6 kB / 0.738 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.2818, allocations: 11.94 kB / 0.738 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.2821, allocations: 15.98 kB / 0.738 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.2822, allocations: 23.84 kB / 0.738 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.2822, allocations: 16 kB / 0.738 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005658/0.2827, allocations: 463 kB / 0.7385 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2827, allocations: 0 / 0.7385 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008858/0.2836, allocations: 347.2 kB / 0.7388 GB, free: 14.98 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): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005276/0.2841, allocations: 243.2 kB / 0.739 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.2858, allocations: 479.8 kB / 0.7395 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2858, allocations: 3.938 kB / 0.7395 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003924/0.2862, allocations: 136.1 kB / 0.7396 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.2876, allocations: 324.9 kB / 0.7399 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.2895, allocations: 1.12 MB / 0.741 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005702/0.2901, allocations: 0.9217 MB / 0.7419 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003848/0.2905, allocations: 113.1 kB / 0.742 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.2906, allocations: 51.44 kB / 0.7421 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of SimCode: time 5e-07/0.2906, allocations: 0 / 0.7421 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of Templates: time 0.3963/0.6869, allocations: 12.71 MB / 0.7545 GB, free: 78.65 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.pipe 2>&1) [Timeout 480]