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.0009645/0.0009646, allocations: 99.8 kB / 16.4 MB, free: 6.449 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.0009505/0.0009505, allocations: 196 kB / 17.34 MB, free: 5.719 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.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6518/0.6518, allocations: 115.3 MB / 406.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 59.72 kB / 0.5577 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1412, allocations: 76.18 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02868/0.1699, allocations: 29.79 MB / 0.6612 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01076/0.1807, allocations: 8.152 MB / 0.6691 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009559/0.1817, allocations: 27.81 kB / 0.6692 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.1828, allocations: 424.9 kB / 0.6696 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002904/0.1857, allocations: 1.382 MB / 0.6709 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.1881, allocations: 1.147 MB / 0.672 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003577/0.1917, allocations: 3.548 MB / 0.6755 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.1933, allocations: 1.337 MB / 0.6768 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.1957, allocations: 1.699 MB / 0.6785 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002775/0.1985, allocations: 1.616 MB / 0.68 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004471/0.1989, allocations: 124 kB / 0.6802 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.2009, allocations: 1.022 MB / 0.6812 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003854/0.2013, allocations: 418.6 kB / 0.6816 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007474/0.2021, allocations: 0.7428 MB / 0.6823 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002247/0.2043, allocations: 2.197 MB / 0.6844 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2043, allocations: 0 / 0.6844 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2043, allocations: 0 / 0.6844 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.2044, allocations: 0 / 0.6844 GB, free: 14.6 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.002406/0.2068, allocations: 1.667 MB / 0.6861 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2068, allocations: 12.03 kB / 0.6861 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003341/0.2072, allocations: 147.4 kB / 0.6862 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.2087, allocations: 0.9375 MB / 0.6871 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.962e-05/0.2087, allocations: 77.31 kB / 0.6872 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.2089, allocations: 120 kB / 0.6873 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009836/0.2099, allocations: 0.6356 MB / 0.6879 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.21, allocations: 7.938 kB / 0.6879 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.719e-05/0.21, allocations: 20 kB / 0.688 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.21, allocations: 19.98 kB / 0.688 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008181/0.2109, allocations: 460.9 kB / 0.6884 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.00383/0.2147, allocations: 2.875 MB / 0.6912 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005458/0.2152, allocations: 307.8 kB / 0.6915 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.2155, allocations: 149.3 kB / 0.6917 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002838/0.2158, allocations: 344.7 kB / 0.692 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.2159, allocations: 38.78 kB / 0.692 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.2159, allocations: 0 / 0.692 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001146/0.217, allocations: 0.5205 MB / 0.6925 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.2171, allocations: 59.39 kB / 0.6926 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009137/0.218, allocations: 0.9114 MB / 0.6935 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.2181, allocations: 57.7 kB / 0.6935 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.2185, allocations: 482.6 kB / 0.694 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.329e-05/0.2186, allocations: 110.4 kB / 0.6941 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003651/0.219, allocations: 294.9 kB / 0.6944 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2191, allocations: 334.1 kB / 0.6947 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003767/0.2195, allocations: 189.4 kB / 0.6949 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.2207, allocations: 1.155 MB / 0.696 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007567/0.2215, allocations: 455.4 kB / 0.6964 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2215, allocations: 0 / 0.6964 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001202/0.2227, allocations: 0.654 MB / 0.6971 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2227, allocations: 7.938 kB / 0.6971 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.2227, allocations: 4 kB / 0.6971 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2228, allocations: 4 kB / 0.6971 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.2241, allocations: 231.8 kB / 0.6973 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.2256, allocations: 2.965 MB / 0.7002 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002948/0.2286, allocations: 0.7025 MB / 0.7009 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.2286, allocations: 27.98 kB / 0.7009 GB, free: 12.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006233/0.2293, allocations: 368.8 kB / 0.7013 GB, free: 12.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001244/0.2305, allocations: 1.158 MB / 0.7024 GB, free: 10.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007065/0.2313, allocations: 456.9 kB / 0.7028 GB, free: 10.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.074e-06/0.2313, allocations: 0 / 0.7028 GB, free: 10.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001265/0.2325, allocations: 0.6628 MB / 0.7035 GB, free: 9.688 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.2326, allocations: 4 kB / 0.7035 GB, free: 9.684 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2326, allocations: 7.938 kB / 0.7035 GB, free: 9.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.2326, allocations: 8 kB / 0.7035 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006167/0.2332, allocations: 155.8 kB / 0.7037 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.2332, allocations: 8 kB / 0.7037 GB, free: 9.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00405/0.2373, allocations: 0.9576 MB / 0.7046 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.2373, allocations: 23.98 kB / 0.7046 GB, free: 8.523 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.0002333/0.2376, allocations: 250.7 kB / 0.7049 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.2377, allocations: 94.69 kB / 0.705 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.2387, allocations: 0.5086 MB / 0.7055 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.2387, allocations: 4 kB / 0.7055 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2388, allocations: 3.938 kB / 0.7055 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.2388, allocations: 3.984 kB / 0.7055 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.2405, allocations: 1.249 MB / 0.7067 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.2405, allocations: 0 / 0.7067 GB, free: 6.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.241, allocations: 123.8 kB / 0.7068 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.241, allocations: 4 kB / 0.7068 GB, free: 6.199 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.2411, allocations: 15.98 kB / 0.7068 GB, free: 6.184 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.2424, allocations: 2.938 MB / 0.7097 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2424, allocations: 0 / 0.7097 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007972/0.2432, allocations: 0.5675 MB / 0.7102 GB, free: 2.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.2434, allocations: 219.6 kB / 0.7105 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.928e-05/0.2435, allocations: 8 kB / 0.7105 GB, free: 2.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.244, allocations: 31.95 kB / 0.7105 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/0.244, allocations: 35.84 kB / 0.7105 GB, free: 2.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.2441, allocations: 19.98 kB / 0.7105 GB, free: 2.207 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006654/0.2447, allocations: 0.6045 MB / 0.7111 GB, free: 1.594 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2447, allocations: 0 / 0.7111 GB, free: 1.594 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001226/0.246, allocations: 0.5307 MB / 0.7117 GB, free: 1.062 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.0006194/0.2466, allocations: 326.7 kB / 0.712 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002243/0.2489, allocations: 0.8502 MB / 0.7128 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2489, allocations: 0 / 0.7128 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005281/0.2494, allocations: 232.8 kB / 0.713 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.001641/0.2511, allocations: 400.6 kB / 0.7134 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.2532, allocations: 1.522 MB / 0.7149 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.2538, allocations: 1.021 MB / 0.7159 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006607/0.2544, allocations: 214.9 kB / 0.7161 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.2546, allocations: 83.41 kB / 0.7162 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of SimCode: time 1.573e-06/0.2546, allocations: 3.938 kB / 0.7162 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.03661/0.2912, allocations: 25 MB / 0.7406 GB, free: 3.77 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)