Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 116 kB / 17.34 MB, free: 5.043 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.002095/0.002095, allocations: 202.6 kB / 18.33 MB, free: 4.055 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.517/1.517, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.866/0.866, allocations: 128.4 MB / 426.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 68.94 kB / 0.5912 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1922, allocations: 83.26 MB / 0.6725 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03507/0.2272, allocations: 29.87 MB / 0.7017 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01334/0.2406, allocations: 8.029 MB / 0.7095 GB, free: 14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.2423, allocations: 35.75 kB / 0.7095 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.2438, allocations: 444.9 kB / 0.71 GB, free: 13.53 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004857/0.2487, allocations: 1.406 MB / 0.7113 GB, free: 12.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003273/0.2519, allocations: 1.15 MB / 0.7124 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005419/0.2574, allocations: 3.497 MB / 0.7159 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.2594, allocations: 1.224 MB / 0.7171 GB, free: 6.234 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00328/0.2626, allocations: 1.726 MB / 0.7187 GB, free: 4.504 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003388/0.266, allocations: 1.686 MB / 0.7204 GB, free: 2.812 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004031/0.2664, allocations: 124 kB / 0.7205 GB, free: 2.691 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.2688, allocations: 1.022 MB / 0.7215 GB, free: 1.668 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004986/0.2693, allocations: 410.5 kB / 0.7219 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.2703, allocations: 0.739 MB / 0.7226 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00325/0.2736, allocations: 2.192 MB / 0.7248 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2736, allocations: 0 / 0.7248 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2736, allocations: 4 kB / 0.7248 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.399e-05/0.2736, allocations: 0 / 0.7248 GB, free: 14.32 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002986/0.2766, allocations: 1.674 MB / 0.7264 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.2766, allocations: 8.031 kB / 0.7264 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004067/0.277, allocations: 155.3 kB / 0.7266 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.2789, allocations: 0.9188 MB / 0.7275 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.021e-05/0.279, allocations: 85.31 kB / 0.7275 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.2792, allocations: 116 kB / 0.7276 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.2804, allocations: 0.6356 MB / 0.7283 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.2804, allocations: 0 / 0.7283 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/0.2805, allocations: 31.94 kB / 0.7283 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/0.2805, allocations: 12 kB / 0.7283 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009835/0.2815, allocations: 464.8 kB / 0.7287 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004905/0.2864, allocations: 2.853 MB / 0.7315 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006452/0.287, allocations: 291.3 kB / 0.7318 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.2873, allocations: 137.3 kB / 0.7319 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003397/0.2877, allocations: 340.7 kB / 0.7323 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.2877, allocations: 38.84 kB / 0.7323 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.553e-06/0.2877, allocations: 0 / 0.7323 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.001425/0.2891, allocations: 0.5327 MB / 0.7328 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.2892, allocations: 59.39 kB / 0.7329 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.2903, allocations: 0.8742 MB / 0.7337 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.2905, allocations: 53.7 kB / 0.7338 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/0.291, allocations: 495.2 kB / 0.7343 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.2911, allocations: 119 kB / 0.7344 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004321/0.2915, allocations: 295.1 kB / 0.7347 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.2917, allocations: 338 kB / 0.735 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.2921, allocations: 189.4 kB / 0.7352 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.2937, allocations: 1.155 MB / 0.7363 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000957/0.2947, allocations: 451.5 kB / 0.7367 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.2947, allocations: 3.938 kB / 0.7367 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001517/0.2962, allocations: 0.6622 MB / 0.7374 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.2962, allocations: 4 kB / 0.7374 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.2962, allocations: 4 kB / 0.7374 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.2962, allocations: 4 kB / 0.7374 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.2977, allocations: 239.7 kB / 0.7376 GB, free: 328 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.2998, allocations: 2.954 MB / 0.7405 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003301/0.3031, allocations: 0.703 MB / 0.7412 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.216e-05/0.3032, allocations: 27.98 kB / 0.7412 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008056/0.304, allocations: 369.2 kB / 0.7416 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001561/0.3056, allocations: 1.162 MB / 0.7427 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008192/0.3064, allocations: 460.8 kB / 0.7431 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.05e-06/0.3064, allocations: 4 kB / 0.7431 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001483/0.3079, allocations: 0.6437 MB / 0.7438 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3079, allocations: 8.312 kB / 0.7438 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3079, allocations: 7.984 kB / 0.7438 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3079, allocations: 8 kB / 0.7438 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/0.3086, allocations: 159.8 kB / 0.7439 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3086, allocations: 7.938 kB / 0.7439 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004235/0.3129, allocations: 0.9691 MB / 0.7449 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/0.3129, allocations: 24 kB / 0.7449 GB, free: 8.289 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003135/0.3132, allocations: 249 kB / 0.7452 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.3134, allocations: 95.39 kB / 0.7452 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.3146, allocations: 0.5002 MB / 0.7457 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.3146, allocations: 12 kB / 0.7457 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3147, allocations: 3.984 kB / 0.7457 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3147, allocations: 0 / 0.7457 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.3168, allocations: 1.238 MB / 0.747 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.3168, allocations: 4.125 kB / 0.747 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.3173, allocations: 115.8 kB / 0.7471 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.3173, allocations: 4 kB / 0.7471 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.3174, allocations: 15.92 kB / 0.7471 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.3191, allocations: 2.938 MB / 0.75 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3191, allocations: 4.094 kB / 0.75 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009326/0.32, allocations: 0.5715 MB / 0.7505 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/0.3203, allocations: 208.3 kB / 0.7507 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.3204, allocations: 8 kB / 0.7507 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.3209, allocations: 35.89 kB / 0.7508 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.3209, allocations: 27.91 kB / 0.7508 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.321, allocations: 15.98 kB / 0.7508 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007782/0.3217, allocations: 0.5878 MB / 0.7514 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3217, allocations: 4 kB / 0.7514 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001426/0.3232, allocations: 0.538 MB / 0.7519 GB, free: 0.8711 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * 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): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006913/0.3239, allocations: 323.3 kB / 0.7522 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.3154/0.6393, allocations: 0.7982 MB / 0.753 GB, free: 77.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.6393, allocations: 1.5 kB / 0.753 GB, free: 77.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000779/0.6401, allocations: 220 kB / 0.7532 GB, free: 77.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.6421, allocations: 405.1 kB / 0.7536 GB, free: 77.28 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/0.6445, allocations: 1.507 MB / 0.7551 GB, free: 76.61 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/0.6451, allocations: 1.018 MB / 0.7561 GB, free: 75.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001035/0.6461, allocations: 200.8 kB / 0.7563 GB, free: 75.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.6463, allocations: 81.02 kB / 0.7563 GB, free: 75.89 MB / 0.5762 GB Notification: Performance of SimCode: time 8.62e-07/0.6463, allocations: 0 / 0.7563 GB, free: 75.89 MB / 0.5762 GB Notification: Performance of Templates: time 0.05372/0.7, allocations: 25.12 MB / 0.7809 GB, free: 67.45 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) [Timeout 480]