Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001384/0.001384, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001639/0.001639, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.704/1.704, allocations: 251.9 MB / 0.51 GB, free: 4.816 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005839/0.0005841, allocations: 16 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6368/0.6374, allocations: 106.3 MB / 0.728 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.02481/0.6623, allocations: 22.39 MB / 0.7498 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01582/0.6782, allocations: 9.301 MB / 0.7589 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.6799, allocations: 35.62 kB / 0.7589 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.6817, allocations: 0.5329 MB / 0.7595 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005435/0.6872, allocations: 1.194 MB / 0.7606 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009168/0.6964, allocations: 2.599 MB / 0.7632 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00424/0.7006, allocations: 1.579 MB / 0.7647 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001979/0.7026, allocations: 0.768 MB / 0.7655 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002593/0.7052, allocations: 0.9114 MB / 0.7664 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002155/0.7074, allocations: 0.7943 MB / 0.7671 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004816/0.7079, allocations: 40 kB / 0.7672 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0027/0.7106, allocations: 0.8698 MB / 0.768 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005502/0.7111, allocations: 207.2 kB / 0.7682 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000652/0.7118, allocations: 205.2 kB / 0.7684 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.714, allocations: 1.111 MB / 0.7695 GB, free: 0.8008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.7141, allocations: 4 kB / 0.7695 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7141, allocations: 0 / 0.7695 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.802e-05/0.7141, allocations: 4 kB / 0.7695 GB, free: 0.793 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002839/0.717, allocations: 1.16 MB / 0.7706 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.717, allocations: 8.031 kB / 0.7706 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000433/0.7175, allocations: 118.7 kB / 0.7708 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.719, allocations: 0.6239 MB / 0.7714 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.391e-05/0.7191, allocations: 61 kB / 0.7714 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002777/0.7194, allocations: 84 kB / 0.7715 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.7206, allocations: 0.5607 MB / 0.7721 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.7206, allocations: 3.938 kB / 0.7721 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/0.7206, allocations: 20 kB / 0.7721 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.7207, allocations: 12 kB / 0.7721 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008707/0.7215, allocations: 415.7 kB / 0.7725 GB, free: 13.62 MB / 0.5919 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.004724/0.7263, allocations: 2.536 MB / 0.775 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005431/0.7268, allocations: 278.6 kB / 0.7752 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/0.7272, allocations: 336.4 kB / 0.7755 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.7273, allocations: 38.55 kB / 0.7756 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=29): time 2.425e-06/0.7273, allocations: 0 / 0.7756 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29): time 0.001251/0.7285, allocations: 491.3 kB / 0.7761 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.7286, allocations: 55.62 kB / 0.7761 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009946/0.7296, allocations: 0.7475 MB / 0.7768 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.7298, allocations: 49.64 kB / 0.7769 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004932/0.7303, allocations: 425.3 kB / 0.7773 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.748e-05/0.7303, allocations: 106.5 kB / 0.7774 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.7304, allocations: 12 kB / 0.7774 GB, free: 8.312 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7305, allocations: 325.9 kB / 0.7777 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.7309, allocations: 157 kB / 0.7779 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.7319, allocations: 0.775 MB / 0.7786 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.7323, allocations: 221.2 kB / 0.7788 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.7324, allocations: 3.984 kB / 0.7788 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001155/0.7335, allocations: 0.5535 MB / 0.7794 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003705/0.7339, allocations: 0.8018 MB / 0.7802 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.7339, allocations: 7.984 kB / 0.7802 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.734, allocations: 4 kB / 0.7802 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/0.7352, allocations: 199.7 kB / 0.7804 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.7369, allocations: 2.364 MB / 0.7827 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/0.74, allocations: 0.6867 MB / 0.7833 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.239e-05/0.7401, allocations: 23.98 kB / 0.7834 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.7401, allocations: 6.188 kB / 0.7834 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008831/0.741, allocations: 450.1 kB / 0.7838 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.741, allocations: 0 / 0.7838 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.741, allocations: 8.188 kB / 0.7838 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/0.7416, allocations: 135.8 kB / 0.7839 GB, free: 1.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-05/0.7416, allocations: 7.984 kB / 0.7839 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/0.7446, allocations: 0.6788 MB / 0.7846 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-05/0.7447, allocations: 23.98 kB / 0.7846 GB, free: 0.5469 MB / 0.5919 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005628/0.7452, allocations: 301.5 kB / 0.7849 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/0.7454, allocations: 86.92 kB / 0.785 GB, free: 160 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.7466, allocations: 469.8 kB / 0.7854 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.7466, allocations: 4 kB / 0.7854 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.7466, allocations: 4 kB / 0.7855 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.7466, allocations: 0 / 0.7855 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.7488, allocations: 1.154 MB / 0.7866 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.7488, allocations: 3.938 kB / 0.7866 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004711/0.7493, allocations: 103.9 kB / 0.7867 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/0.7493, allocations: 4 kB / 0.7867 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.7494, allocations: 8 kB / 0.7867 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.7506, allocations: 2.356 MB / 0.789 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.7506, allocations: 15.86 kB / 0.789 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009438/0.7516, allocations: 0.5742 MB / 0.7896 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.752, allocations: 199.9 kB / 0.7898 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.7521, allocations: 11.98 kB / 0.7898 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/0.7527, allocations: 51.89 kB / 0.7898 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.7528, allocations: 35.89 kB / 0.7899 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/0.7528, allocations: 15.98 kB / 0.7899 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007259/0.7535, allocations: 0.499 MB / 0.7904 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7536, allocations: 0 / 0.7904 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001609/0.7552, allocations: 467.1 kB / 0.7908 GB, free: 9.969 MB / 0.6075 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 (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009503/0.7561, allocations: 313.5 kB / 0.7911 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002562/0.7587, allocations: 0.7168 MB / 0.7918 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.7587, allocations: 4 kB / 0.7918 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.7593, allocations: 212.3 kB / 0.792 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.7618, allocations: 417.5 kB / 0.7924 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.7647, allocations: 1.519 MB / 0.7939 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00085/0.7656, allocations: 0.9901 MB / 0.7949 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001368/0.767, allocations: 174 kB / 0.795 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.7672, allocations: 67.42 kB / 0.7951 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of SimCode: time 2.315e-06/0.7673, allocations: 0 / 0.7951 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of Templates: time 0.03658/0.8039, allocations: 19.44 MB / 0.8141 GB, free: 2.387 MB / 0.6231 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1) Environment - environmentSimulation: