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.007342/0.007342, allocations: 108.8 kB / 15.71 MB, free: 6.027 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.001994/0.001995, allocations: 191 kB / 16.64 MB, free: 5.961 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.34/1.34, allocations: 222.9 MB / 240.3 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.8411/0.8411, allocations: 143 MB / 433.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001176, allocations: 64.19 kB / 0.5955 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1791, allocations: 82.04 MB / 0.6756 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01593/0.1951, allocations: 15.55 MB / 0.6908 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006086/0.2012, allocations: 4.33 MB / 0.695 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000518/0.2017, allocations: 15.88 kB / 0.695 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008589/0.2026, allocations: 262.3 kB / 0.6953 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.2041, allocations: 0.6023 MB / 0.6959 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.2058, allocations: 0.707 MB / 0.6965 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.2069, allocations: 1.025 MB / 0.6975 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.2074, allocations: 339.7 kB / 0.6979 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005839/0.208, allocations: 418.3 kB / 0.6983 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003787/0.2084, allocations: 334.5 kB / 0.6986 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.261e-05/0.2084, allocations: 24 kB / 0.6986 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.2095, allocations: 0.6356 MB / 0.6992 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.2096, allocations: 103.6 kB / 0.6993 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.2098, allocations: 222.7 kB / 0.6995 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009516/0.2107, allocations: 0.7866 MB / 0.7003 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2108, allocations: 0 / 0.7003 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2108, allocations: 0 / 0.7003 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.2108, allocations: 0 / 0.7003 GB, free: 0.9766 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.001141/0.2119, allocations: 0.8292 MB / 0.7011 GB, free: 96 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.212, allocations: 8.031 kB / 0.7011 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.2121, allocations: 56.28 kB / 0.7012 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006121/0.2127, allocations: 437.3 kB / 0.7016 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.2127, allocations: 20.44 kB / 0.7016 GB, free: 15.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.2128, allocations: 28 kB / 0.7016 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.2133, allocations: 219.2 kB / 0.7019 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2133, allocations: 4 kB / 0.7019 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.2133, allocations: 8 kB / 0.7019 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2133, allocations: 4 kB / 0.7019 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.2137, allocations: 173.5 kB / 0.702 GB, free: 15.11 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.001509/0.2152, allocations: 0.9418 MB / 0.703 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002862/0.2155, allocations: 130.6 kB / 0.7031 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.2157, allocations: 68.81 kB / 0.7031 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/0.216, allocations: 340.4 kB / 0.7035 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.216, allocations: 34.56 kB / 0.7035 GB, free: 13.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.216, allocations: 0 / 0.7035 GB, free: 13.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.000609/0.2166, allocations: 248.2 kB / 0.7037 GB, free: 13.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.2167, allocations: 51.41 kB / 0.7038 GB, free: 13.13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.2172, allocations: 474 kB / 0.7042 GB, free: 12.66 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.2172, allocations: 37.7 kB / 0.7043 GB, free: 12.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.2174, allocations: 224.6 kB / 0.7045 GB, free: 12.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/0.2174, allocations: 51.3 kB / 0.7045 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.467e-05/0.2175, allocations: 57.69 kB / 0.7046 GB, free: 12.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2176, allocations: 354.7 kB / 0.7049 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.2178, allocations: 68.81 kB / 0.705 GB, free: 11.85 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.2181, allocations: 161 kB / 0.7051 GB, free: 11.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/0.2184, allocations: 160.9 kB / 0.7053 GB, free: 11.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2184, allocations: 0 / 0.7053 GB, free: 11.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005237/0.219, allocations: 261 kB / 0.7056 GB, free: 11.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.219, allocations: 8.078 kB / 0.7056 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.219, allocations: 3.938 kB / 0.7056 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.219, allocations: 4 kB / 0.7056 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.2192, allocations: 43.91 kB / 0.7056 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.2193, allocations: 4 kB / 0.7056 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.2196, allocations: 31.83 kB / 0.7056 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.2196, allocations: 11.98 kB / 0.7057 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002732/0.2199, allocations: 192.7 kB / 0.7058 GB, free: 10.94 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002378/0.2202, allocations: 165.8 kB / 0.706 GB, free: 10.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003273/0.2205, allocations: 172.1 kB / 0.7062 GB, free: 10.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.2205, allocations: 0 / 0.7062 GB, free: 10.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004834/0.221, allocations: 252.9 kB / 0.7064 GB, free: 10.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.221, allocations: 13.97 kB / 0.7064 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-06/0.221, allocations: 0 / 0.7064 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.47e-06/0.221, allocations: 4 kB / 0.7064 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.2212, allocations: 39.97 kB / 0.7065 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2212, allocations: 7.984 kB / 0.7065 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003303/0.2216, allocations: 35.81 kB / 0.7065 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.2216, allocations: 12 kB / 0.7065 GB, free: 10.2 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.0001073/0.2217, allocations: 204.2 kB / 0.7067 GB, free: 9.992 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.2218, allocations: 39.53 kB / 0.7067 GB, free: 9.953 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005354/0.2223, allocations: 245.1 kB / 0.707 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.2224, allocations: 7.984 kB / 0.707 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2224, allocations: 0 / 0.707 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2224, allocations: 0 / 0.707 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009481/0.2233, allocations: 0.712 MB / 0.7077 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2233, allocations: 0 / 0.7077 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.2235, allocations: 31.98 kB / 0.7077 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2235, allocations: 0 / 0.7077 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.2235, allocations: 12.11 kB / 0.7077 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.658e-06/0.2235, allocations: 11.88 kB / 0.7077 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2235, allocations: 0 / 0.7077 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004546/0.224, allocations: 338.4 kB / 0.7081 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.2241, allocations: 144.4 kB / 0.7082 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.2242, allocations: 4 kB / 0.7082 GB, free: 8.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.2244, allocations: 15.92 kB / 0.7082 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.2244, allocations: 19.86 kB / 0.7082 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.2245, allocations: 4 kB / 0.7082 GB, free: 8.309 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003371/0.2248, allocations: 338.9 kB / 0.7086 GB, free: 7.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2248, allocations: 4 kB / 0.7086 GB, free: 7.977 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006474/0.2255, allocations: 199.7 kB / 0.7088 GB, free: 7.781 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.001045/0.2265, allocations: 482.2 kB / 0.7092 GB, free: 7.441 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006566/0.2272, allocations: 263.7 kB / 0.7095 GB, free: 7.184 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2272, allocations: 3.938 kB / 0.7095 GB, free: 7.18 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.2274, allocations: 88.02 kB / 0.7096 GB, free: 7.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000981/0.2284, allocations: 206.6 kB / 0.7097 GB, free: 6.895 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.2295, allocations: 0.7049 MB / 0.7104 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003372/0.2299, allocations: 0.8309 MB / 0.7112 GB, free: 5.293 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002538/0.2301, allocations: 82.16 kB / 0.7113 GB, free: 5.215 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.721e-05/0.2302, allocations: 43.42 kB / 0.7114 GB, free: 5.172 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.2302, allocations: 0 / 0.7114 GB, free: 5.172 MB / 0.545 GB Notification: Performance of Templates: time 0.01489/0.2451, allocations: 8.573 MB / 0.7197 GB, free: 12.73 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)