Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 107.8 kB / 16.41 MB, free: 6.473 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.001488/0.001488, allocations: 185.6 kB / 17.34 MB, free: 5.75 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8801/0.8801, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 67.64 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1547, allocations: 82.02 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01711/0.1718, allocations: 15.58 MB / 0.6915 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00661/0.1784, allocations: 4.338 MB / 0.6958 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006085/0.179, allocations: 19.88 kB / 0.6958 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009248/0.18, allocations: 266.4 kB / 0.696 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.1815, allocations: 0.6366 MB / 0.6967 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.1833, allocations: 0.704 MB / 0.6973 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001269/0.1845, allocations: 1.028 MB / 0.6983 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004159/0.185, allocations: 291.8 kB / 0.6986 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006595/0.1856, allocations: 434.3 kB / 0.699 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004097/0.186, allocations: 326.6 kB / 0.6993 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.1861, allocations: 31.94 kB / 0.6994 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.1871, allocations: 0.6239 MB / 0.7 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1873, allocations: 107.5 kB / 0.7001 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.1875, allocations: 226.8 kB / 0.7003 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.1885, allocations: 0.79 MB / 0.7011 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1885, allocations: 8 kB / 0.7011 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1885, allocations: 0 / 0.7011 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.1885, allocations: 0 / 0.7011 GB, free: 0.8945 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001279/0.1898, allocations: 0.8438 MB / 0.7019 GB, free: 16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1898, allocations: 12.03 kB / 0.7019 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.19, allocations: 52.61 kB / 0.702 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006748/0.1906, allocations: 449.7 kB / 0.7024 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.1906, allocations: 20.44 kB / 0.7024 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.894e-05/0.1907, allocations: 28 kB / 0.7024 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/0.1911, allocations: 215.2 kB / 0.7027 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.1911, allocations: 0 / 0.7027 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.1912, allocations: 16 kB / 0.7027 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.1912, allocations: 4 kB / 0.7027 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.1916, allocations: 161.6 kB / 0.7028 GB, free: 15.02 MB / 0.545 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.001666/0.1932, allocations: 0.9499 MB / 0.7038 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.1935, allocations: 130.5 kB / 0.7039 GB, free: 13.85 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.1937, allocations: 68.81 kB / 0.7039 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/0.194, allocations: 336.4 kB / 0.7043 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.194, allocations: 30.56 kB / 0.7043 GB, free: 13.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.194, allocations: 4 kB / 0.7043 GB, free: 13.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006609/0.1947, allocations: 245.2 kB / 0.7045 GB, free: 13.09 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.1948, allocations: 51.41 kB / 0.7046 GB, free: 13.03 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005496/0.1953, allocations: 478 kB / 0.705 GB, free: 12.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.1953, allocations: 33.7 kB / 0.7051 GB, free: 12.51 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.1955, allocations: 232.7 kB / 0.7053 GB, free: 12.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.1956, allocations: 51.58 kB / 0.7053 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.1957, allocations: 65.64 kB / 0.7054 GB, free: 12.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1958, allocations: 354.7 kB / 0.7057 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.196, allocations: 72.81 kB / 0.7058 GB, free: 11.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.1963, allocations: 149.1 kB / 0.706 GB, free: 11.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.1967, allocations: 168.8 kB / 0.7061 GB, free: 11.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.1967, allocations: 0 / 0.7061 GB, free: 11.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005409/0.1972, allocations: 259.4 kB / 0.7064 GB, free: 11.12 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1972, allocations: 8 kB / 0.7064 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1972, allocations: 96 / 0.7064 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1972, allocations: 3.938 kB / 0.7064 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.1975, allocations: 47.91 kB / 0.7064 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1975, allocations: 8 kB / 0.7064 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.1978, allocations: 31.86 kB / 0.7065 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.1978, allocations: 12 kB / 0.7065 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002924/0.1981, allocations: 192.7 kB / 0.7067 GB, free: 10.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002611/0.1984, allocations: 161.9 kB / 0.7068 GB, free: 10.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000348/0.1987, allocations: 176 kB / 0.707 GB, free: 10.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.1987, allocations: 4 kB / 0.707 GB, free: 10.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005055/0.1992, allocations: 253.1 kB / 0.7072 GB, free: 10.19 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1992, allocations: 8 kB / 0.7072 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-06/0.1992, allocations: 0 / 0.7072 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-06/0.1992, allocations: 0 / 0.7072 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.1994, allocations: 51.91 kB / 0.7073 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1994, allocations: 4 kB / 0.7073 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.1998, allocations: 39.92 kB / 0.7073 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.1998, allocations: 4 kB / 0.7073 GB, free: 10.09 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.1999, allocations: 200.1 kB / 0.7075 GB, free: 9.883 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.786e-05/0.2, allocations: 43.72 kB / 0.7076 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005612/0.2005, allocations: 253.1 kB / 0.7078 GB, free: 9.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.2006, allocations: 3.938 kB / 0.7078 GB, free: 9.586 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2006, allocations: 4 kB / 0.7078 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2006, allocations: 0 / 0.7078 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.2016, allocations: 0.7044 MB / 0.7085 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2016, allocations: 4.125 kB / 0.7085 GB, free: 8.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.2017, allocations: 31.98 kB / 0.7085 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2017, allocations: 0 / 0.7085 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.2017, allocations: 4 kB / 0.7085 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.2017, allocations: 3.938 kB / 0.7085 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2017, allocations: 4 kB / 0.7085 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.2022, allocations: 352.2 kB / 0.7089 GB, free: 8.391 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.2024, allocations: 136.9 kB / 0.709 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.2024, allocations: 7.922 kB / 0.709 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.2026, allocations: 19.92 kB / 0.709 GB, free: 8.211 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.2027, allocations: 15.98 kB / 0.709 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.2027, allocations: 8.141 kB / 0.7091 GB, free: 8.188 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003695/0.2031, allocations: 338.8 kB / 0.7094 GB, free: 7.859 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2031, allocations: 0 / 0.7094 GB, free: 7.859 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000635/0.2037, allocations: 199.6 kB / 0.7096 GB, free: 7.664 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001524/0.2052, allocations: 472.1 kB / 0.71 GB, free: 7.332 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006643/0.2059, allocations: 270.5 kB / 0.7103 GB, free: 7.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2059, allocations: 0 / 0.7103 GB, free: 7.07 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.2061, allocations: 79.88 kB / 0.7103 GB, free: 6.992 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009731/0.207, allocations: 191.8 kB / 0.7105 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/0.2083, allocations: 0.7635 MB / 0.7113 GB, free: 5.996 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.2088, allocations: 0.8152 MB / 0.7121 GB, free: 5.156 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.73e-05/0.2089, allocations: 43.42 kB / 0.7121 GB, free: 5.113 MB / 0.545 GB Notification: Performance of SimCode: time 5.91e-07/0.2089, allocations: 3.938 kB / 0.7121 GB, free: 5.109 MB / 0.545 GB Notification: Performance of Templates: time 0.01203/0.2209, allocations: 7.486 MB / 0.7194 GB, free: 13.7 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)