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) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 115 kB / 17.08 MB, free: 6 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.00127/0.00127, allocations: 193.8 kB / 18.02 MB, free: 5.082 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.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7116/0.7116, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 62.97 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.137, allocations: 76.18 MB / 0.6327 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03202/0.169, allocations: 29.8 MB / 0.6618 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.181, allocations: 8.14 MB / 0.6698 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.1823, allocations: 27.81 kB / 0.6698 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.1837, allocations: 432.9 kB / 0.6702 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003986/0.1878, allocations: 1.386 MB / 0.6716 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002957/0.1907, allocations: 1.144 MB / 0.6727 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004306/0.1951, allocations: 3.548 MB / 0.6762 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002219/0.1973, allocations: 1.337 MB / 0.6775 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003284/0.2006, allocations: 1.695 MB / 0.6791 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003327/0.2039, allocations: 1.616 MB / 0.6807 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007456/0.2047, allocations: 128 kB / 0.6808 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.2074, allocations: 1.018 MB / 0.6818 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007667/0.2082, allocations: 406.7 kB / 0.6822 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00158/0.2098, allocations: 0.7467 MB / 0.6829 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003588/0.2134, allocations: 2.205 MB / 0.6851 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2134, allocations: 0 / 0.6851 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.066e-06/0.2134, allocations: 4 kB / 0.6851 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.729e-05/0.2135, allocations: 0 / 0.6851 GB, free: 14.59 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.00339/0.2169, allocations: 1.667 MB / 0.6867 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2169, allocations: 8.031 kB / 0.6867 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005044/0.2174, allocations: 147.4 kB / 0.6869 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.2194, allocations: 0.9337 MB / 0.6878 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/0.2195, allocations: 85.25 kB / 0.6879 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/0.2197, allocations: 116 kB / 0.688 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.2209, allocations: 0.6357 MB / 0.6886 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.2209, allocations: 3.938 kB / 0.6886 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.221, allocations: 20 kB / 0.6886 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.221, allocations: 16 kB / 0.6886 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009304/0.2219, allocations: 464.8 kB / 0.6891 GB, free: 10.38 MB / 0.5294 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.004744/0.2267, allocations: 2.875 MB / 0.6919 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/0.2273, allocations: 307.8 kB / 0.6922 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.2277, allocations: 145.3 kB / 0.6923 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003101/0.228, allocations: 348.7 kB / 0.6926 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.2281, allocations: 38.84 kB / 0.6927 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.265e-06/0.2281, allocations: 0 / 0.6927 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001413/0.2295, allocations: 0.5283 MB / 0.6932 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.2296, allocations: 51.41 kB / 0.6932 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.2308, allocations: 0.9075 MB / 0.6941 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002145/0.231, allocations: 57.7 kB / 0.6942 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/0.2315, allocations: 490.6 kB / 0.6947 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.389e-05/0.2316, allocations: 106.5 kB / 0.6948 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000475/0.2321, allocations: 294.9 kB / 0.695 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2322, allocations: 330.1 kB / 0.6953 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.2327, allocations: 193.4 kB / 0.6955 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.2341, allocations: 1.159 MB / 0.6967 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009766/0.2351, allocations: 455.4 kB / 0.6971 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.2352, allocations: 0 / 0.6971 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00147/0.2366, allocations: 0.6539 MB / 0.6977 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.2367, allocations: 8 kB / 0.6977 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.2367, allocations: 0 / 0.6977 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.2367, allocations: 8.094 kB / 0.6978 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.2381, allocations: 235.8 kB / 0.698 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/0.2398, allocations: 2.953 MB / 0.7009 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003403/0.2433, allocations: 0.7105 MB / 0.7016 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.919e-05/0.2434, allocations: 31.92 kB / 0.7016 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007988/0.2442, allocations: 372.8 kB / 0.7019 GB, free: 12.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001332/0.2455, allocations: 1.162 MB / 0.7031 GB, free: 10.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007834/0.2463, allocations: 448.9 kB / 0.7035 GB, free: 10.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.357e-06/0.2463, allocations: 0 / 0.7035 GB, free: 10.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001551/0.2479, allocations: 0.655 MB / 0.7041 GB, free: 9.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.2479, allocations: 11.98 kB / 0.7042 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2479, allocations: 0 / 0.7042 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/0.2479, allocations: 8 kB / 0.7042 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006847/0.2486, allocations: 159.8 kB / 0.7043 GB, free: 9.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.2486, allocations: 7.984 kB / 0.7043 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004598/0.2532, allocations: 0.9614 MB / 0.7053 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/0.2533, allocations: 24 kB / 0.7053 GB, free: 8.516 MB / 0.545 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.0003344/0.2537, allocations: 245.1 kB / 0.7055 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002399/0.2539, allocations: 102.7 kB / 0.7056 GB, free: 8.164 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.2551, allocations: 0.5086 MB / 0.7061 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.2551, allocations: 4 kB / 0.7061 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.2551, allocations: 0 / 0.7061 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.2551, allocations: 0 / 0.7061 GB, free: 7.641 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.2573, allocations: 1.253 MB / 0.7073 GB, free: 6.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.2573, allocations: 4 kB / 0.7073 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005268/0.2579, allocations: 115.8 kB / 0.7075 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.2579, allocations: 0 / 0.7075 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.2579, allocations: 12 kB / 0.7075 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.2594, allocations: 2.938 MB / 0.7103 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.2594, allocations: 7.969 kB / 0.7103 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009424/0.2604, allocations: 0.5712 MB / 0.7109 GB, free: 2.527 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/0.2608, allocations: 215.7 kB / 0.7111 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.2609, allocations: 12 kB / 0.7111 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.2614, allocations: 24.06 kB / 0.7111 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.2615, allocations: 39.81 kB / 0.7112 GB, free: 2.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.2615, allocations: 16 kB / 0.7112 GB, free: 2.207 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008043/0.2624, allocations: 0.6123 MB / 0.7118 GB, free: 1.586 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2624, allocations: 0 / 0.7118 GB, free: 1.586 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00166/0.264, allocations: 0.5345 MB / 0.7123 GB, free: 1.051 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 (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.0007692/0.2648, allocations: 319.7 kB / 0.7126 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002694/0.2675, allocations: 0.8508 MB / 0.7135 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.2675, allocations: 3.938 kB / 0.7135 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005891/0.2681, allocations: 228.9 kB / 0.7137 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.2701, allocations: 413.2 kB / 0.7141 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.2729, allocations: 1.545 MB / 0.7156 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/0.2735, allocations: 1.025 MB / 0.7166 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.2738, allocations: 79.42 kB / 0.7167 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.2738, allocations: 3.938 kB / 0.7167 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of Templates: time 0.3193/0.5931, allocations: 36.18 MB / 0.752 GB, free: 106.2 MB / 0.5762 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)