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.001263/0.001263, allocations: 110 kB / 16.41 MB, free: 6.484 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.001207/0.001207, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.341/1.341, allocations: 222.9 MB / 241 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.7418/0.7418, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002466/0.002466, allocations: 61.86 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1504, allocations: 76.19 MB / 0.6321 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03245/0.1829, allocations: 29.79 MB / 0.6612 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01273/0.1956, allocations: 8.152 MB / 0.6691 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00158/0.1973, allocations: 27.81 kB / 0.6692 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.1985, allocations: 433 kB / 0.6696 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004743/0.2034, allocations: 1.433 MB / 0.671 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.2062, allocations: 1.143 MB / 0.6721 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004156/0.2104, allocations: 3.556 MB / 0.6756 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.2126, allocations: 1.341 MB / 0.6769 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003245/0.2159, allocations: 1.706 MB / 0.6785 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003104/0.219, allocations: 1.612 MB / 0.6801 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004425/0.2194, allocations: 132 kB / 0.6802 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.2215, allocations: 1.018 MB / 0.6812 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005082/0.2221, allocations: 406.7 kB / 0.6816 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.2231, allocations: 0.7505 MB / 0.6824 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002776/0.2259, allocations: 2.193 MB / 0.6845 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2259, allocations: 0 / 0.6845 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.489e-06/0.2259, allocations: 0 / 0.6845 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.2259, allocations: 3.938 kB / 0.6845 GB, free: 14.55 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.002661/0.2286, allocations: 1.667 MB / 0.6861 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2286, allocations: 12.03 kB / 0.6861 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003764/0.229, allocations: 151.4 kB / 0.6863 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.2306, allocations: 0.9297 MB / 0.6872 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.411e-05/0.2307, allocations: 81.31 kB / 0.6873 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.2309, allocations: 116 kB / 0.6874 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.232, allocations: 0.6395 MB / 0.688 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.232, allocations: 0 / 0.688 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-05/0.2321, allocations: 20 kB / 0.688 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/0.2321, allocations: 19.98 kB / 0.688 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008895/0.233, allocations: 468.8 kB / 0.6885 GB, free: 10.33 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.004364/0.2374, allocations: 2.86 MB / 0.6913 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006243/0.238, allocations: 311.8 kB / 0.6916 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.2383, allocations: 153.3 kB / 0.6917 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.2386, allocations: 348.7 kB / 0.6921 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.2387, allocations: 34.84 kB / 0.6921 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/0.2387, allocations: 3.938 kB / 0.6921 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.001339/0.24, allocations: 0.5205 MB / 0.6926 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.2401, allocations: 59.41 kB / 0.6927 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.2411, allocations: 0.9113 MB / 0.6935 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.2412, allocations: 57.7 kB / 0.6936 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.2417, allocations: 478.7 kB / 0.6941 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.2418, allocations: 114.4 kB / 0.6942 GB, free: 4.215 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003835/0.2422, allocations: 294.9 kB / 0.6945 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2423, allocations: 326.1 kB / 0.6948 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.2427, allocations: 201.4 kB / 0.695 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.244, allocations: 1.147 MB / 0.6961 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000819/0.2449, allocations: 467.4 kB / 0.6965 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2449, allocations: 0 / 0.6965 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00134/0.2462, allocations: 0.6462 MB / 0.6972 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.2463, allocations: 11.94 kB / 0.6972 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.2463, allocations: 3.938 kB / 0.6972 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.2463, allocations: 8.188 kB / 0.6972 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.2477, allocations: 231.7 kB / 0.6974 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.2493, allocations: 2.961 MB / 0.7003 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003338/0.2527, allocations: 0.6986 MB / 0.701 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/0.2528, allocations: 27.98 kB / 0.701 GB, free: 12.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007439/0.2535, allocations: 372.8 kB / 0.7014 GB, free: 12.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001285/0.2548, allocations: 1.162 MB / 0.7025 GB, free: 10.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007802/0.2556, allocations: 448.9 kB / 0.7029 GB, free: 10.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.256e-06/0.2556, allocations: 3.938 kB / 0.7029 GB, free: 10.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001438/0.2571, allocations: 0.6509 MB / 0.7036 GB, free: 9.652 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.2571, allocations: 8 kB / 0.7036 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2571, allocations: 0 / 0.7036 GB, free: 9.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.2571, allocations: 8 kB / 0.7036 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006866/0.2578, allocations: 168.1 kB / 0.7037 GB, free: 9.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.2578, allocations: 8 kB / 0.7037 GB, free: 9.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004371/0.2622, allocations: 0.9574 MB / 0.7047 GB, free: 8.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.2623, allocations: 27.98 kB / 0.7047 GB, free: 8.477 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.0003556/0.2627, allocations: 241.1 kB / 0.7049 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.2629, allocations: 98.69 kB / 0.705 GB, free: 8.133 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.2641, allocations: 0.5165 MB / 0.7055 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.2641, allocations: 4 kB / 0.7055 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2641, allocations: 0 / 0.7055 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.2641, allocations: 3.984 kB / 0.7055 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.2662, allocations: 1.253 MB / 0.7068 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2662, allocations: 0 / 0.7068 GB, free: 6.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/0.2668, allocations: 107.9 kB / 0.7069 GB, free: 6.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.2668, allocations: 4 kB / 0.7069 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.2668, allocations: 16.05 kB / 0.7069 GB, free: 6.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001453/0.2683, allocations: 2.946 MB / 0.7098 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.2683, allocations: 4.031 kB / 0.7098 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009373/0.2692, allocations: 0.5635 MB / 0.7103 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.2695, allocations: 219.6 kB / 0.7105 GB, free: 2.258 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.2697, allocations: 15.98 kB / 0.7105 GB, free: 2.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.2701, allocations: 27.97 kB / 0.7106 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.2702, allocations: 31.84 kB / 0.7106 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.2703, allocations: 15.98 kB / 0.7106 GB, free: 2.168 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007679/0.271, allocations: 0.6084 MB / 0.7112 GB, free: 1.551 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.271, allocations: 0 / 0.7112 GB, free: 1.551 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001454/0.2725, allocations: 0.5307 MB / 0.7117 GB, free: 1.02 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.0006778/0.2732, allocations: 343.5 kB / 0.712 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002692/0.2759, allocations: 0.8346 MB / 0.7129 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.2759, allocations: 0 / 0.7129 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005991/0.2765, allocations: 233.7 kB / 0.7131 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.2784, allocations: 407.4 kB / 0.7135 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.2809, allocations: 1.522 MB / 0.715 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.2815, allocations: 1.025 MB / 0.716 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00101/0.2825, allocations: 206.9 kB / 0.7162 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.2827, allocations: 79.41 kB / 0.7162 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.2827, allocations: 3.938 kB / 0.7162 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.0406/0.3233, allocations: 25.01 MB / 0.7407 GB, free: 3.719 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)