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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 172.8 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.488/0.488, allocations: 86.26 MB / 103.8 MB, free: 14.57 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 348.4 MB, free: 4.957 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008862/0.0008861, allocations: 92.61 kB / 420.2 MB, free: 9.633 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003883, allocations: 12 kB / 0.4901 GB, free: 7.988 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3341, allocations: 71.02 MB / 0.5594 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6747/1.009, allocations: 350 MB / 0.9012 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/1.009, allocations: 100.8 kB / 0.9013 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.33/2.339, allocations: 435.8 MB / 1.327 GB, free: 90.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.242e-06/2.339, allocations: 0 / 1.327 GB, free: 90.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001318/2.339, allocations: 35.98 kB / 1.327 GB, free: 90.41 MB / 0.6042 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.003088/2.342, allocations: 1.512 MB / 1.328 GB, free: 88.84 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/2.342, allocations: 11.97 kB / 1.328 GB, free: 88.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005216/2.343, allocations: 155.4 kB / 1.329 GB, free: 88.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/2.345, allocations: 0.8727 MB / 1.329 GB, free: 87.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/2.345, allocations: 85.56 kB / 1.33 GB, free: 87.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/2.345, allocations: 124.4 kB / 1.33 GB, free: 87.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009013/2.346, allocations: 0.6362 MB / 1.33 GB, free: 86.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/2.346, allocations: 3.938 kB / 1.33 GB, free: 86.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/2.346, allocations: 20 kB / 1.33 GB, free: 86.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/2.346, allocations: 16 kB / 1.33 GB, free: 86.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000781/2.347, allocations: 476.9 kB / 1.331 GB, free: 86.38 MB / 0.6042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004034/2.351, allocations: 3.085 MB / 1.334 GB, free: 83.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/2.351, allocations: 335.9 kB / 1.334 GB, free: 82.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/2.352, allocations: 157.3 kB / 1.334 GB, free: 82.66 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000213/2.352, allocations: 348.7 kB / 1.335 GB, free: 82.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/2.352, allocations: 30.84 kB / 1.335 GB, free: 82.21 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.684e-06/2.352, allocations: 0 / 1.335 GB, free: 82.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001105/2.353, allocations: 0.5681 MB / 1.335 GB, free: 81.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/2.353, allocations: 55.41 kB / 1.335 GB, free: 81.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008082/2.354, allocations: 0.9037 MB / 1.336 GB, free: 80.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/2.354, allocations: 61.7 kB / 1.336 GB, free: 80.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003251/2.354, allocations: 0.542 MB / 1.337 GB, free: 80.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.078e-05/2.354, allocations: 118.3 kB / 1.337 GB, free: 79.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.538e-05/2.354, allocations: 8 kB / 1.337 GB, free: 79.89 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.75e-05/2.354, allocations: 334 kB / 1.337 GB, free: 79.56 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/2.355, allocations: 181.2 kB / 1.337 GB, free: 79.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/2.356, allocations: 1.44 MB / 1.339 GB, free: 77.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/2.356, allocations: 451.4 kB / 1.339 GB, free: 77.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/2.357, allocations: 4 kB / 1.339 GB, free: 77.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00101/2.358, allocations: 0.6463 MB / 1.34 GB, free: 76.44 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/2.358, allocations: 160 kB / 1.34 GB, free: 76.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/2.358, allocations: 0 / 1.34 GB, free: 76.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/2.358, allocations: 8 kB / 1.34 GB, free: 76.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/2.359, allocations: 243.5 kB / 1.34 GB, free: 76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009443/2.36, allocations: 2.969 MB / 1.343 GB, free: 72.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/2.363, allocations: 0.9173 MB / 1.344 GB, free: 72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/2.363, allocations: 31.3 kB / 1.344 GB, free: 71.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/2.363, allocations: 4 kB / 1.344 GB, free: 71.97 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007884/2.364, allocations: 0.5089 MB / 1.345 GB, free: 71.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/2.364, allocations: 0 / 1.345 GB, free: 71.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/2.364, allocations: 8 kB / 1.345 GB, free: 71.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005773/2.364, allocations: 155.8 kB / 1.345 GB, free: 71.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/2.364, allocations: 7.984 kB / 1.345 GB, free: 71.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/2.367, allocations: 0.898 MB / 1.346 GB, free: 70.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/2.367, allocations: 27.98 kB / 1.346 GB, free: 70.37 MB / 0.6042 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 (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004307/2.367, allocations: 341.8 kB / 1.346 GB, free: 70.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.952e-05/2.367, allocations: 98.69 kB / 1.346 GB, free: 69.93 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009355/2.368, allocations: 0.5386 MB / 1.347 GB, free: 69.39 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/2.368, allocations: 11.94 kB / 1.347 GB, free: 69.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/2.368, allocations: 0 / 1.347 GB, free: 69.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/2.368, allocations: 0 / 1.347 GB, free: 69.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/2.37, allocations: 1.278 MB / 1.348 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/2.37, allocations: 0 / 1.348 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/2.37, allocations: 123.7 kB / 1.348 GB, free: 67.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/2.371, allocations: 7.938 kB / 1.348 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/2.371, allocations: 8 kB / 1.348 GB, free: 67.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000751/2.371, allocations: 2.946 MB / 1.351 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/2.371, allocations: 7.969 kB / 1.351 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006834/2.372, allocations: 0.5862 MB / 1.351 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/2.372, allocations: 223.7 kB / 1.352 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.653e-05/2.372, allocations: 7.938 kB / 1.352 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005122/2.373, allocations: 79.77 kB / 1.352 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/2.373, allocations: 31.91 kB / 1.352 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/2.373, allocations: 11.98 kB / 1.352 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005619/2.374, allocations: 0.6045 MB / 1.352 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/2.374, allocations: 0 / 1.352 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001492/2.375, allocations: 0.6088 MB / 1.353 GB, free: 62.63 MB / 0.6042 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 (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009117/2.376, allocations: 0.4993 MB / 1.353 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002293/2.378, allocations: 0.8702 MB / 1.354 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/2.378, allocations: 0 / 1.354 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005015/2.379, allocations: 240.3 kB / 1.354 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/2.381, allocations: 481.9 kB / 1.355 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/2.383, allocations: 1.802 MB / 1.357 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/2.384, allocations: 1.029 MB / 1.358 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00111/2.385, allocations: 217.8 kB / 1.358 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/2.385, allocations: 75.42 kB / 1.358 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/2.385, allocations: 0 / 1.358 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.03573/2.421, allocations: 28.12 MB / 1.385 GB, free: 29.87 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (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)