Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001007, allocations: 116.5 kB / 16.37 MB, free: 6.012 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.0009823/0.0009823, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.18 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.818/0.818, allocations: 143 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 71.89 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3017, allocations: 82.03 MB / 0.5957 GB, free: 16.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01269/0.3144, allocations: 17.45 MB / 0.6127 GB, free: 14.67 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006191/0.3206, allocations: 4.906 MB / 0.6175 GB, free: 9.773 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004177/0.3211, allocations: 15.94 kB / 0.6175 GB, free: 9.758 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007245/0.3218, allocations: 262.3 kB / 0.6178 GB, free: 9.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.3231, allocations: 0.5999 MB / 0.6184 GB, free: 8.902 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.3248, allocations: 0.741 MB / 0.6191 GB, free: 8.176 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.3259, allocations: 0.9668 MB / 0.6201 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004544/0.3264, allocations: 329.6 kB / 0.6204 GB, free: 6.891 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006395/0.3271, allocations: 420.8 kB / 0.6208 GB, free: 6.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.3274, allocations: 310.6 kB / 0.6211 GB, free: 6.176 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.3275, allocations: 28 kB / 0.6211 GB, free: 6.148 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.3286, allocations: 0.7259 MB / 0.6218 GB, free: 5.422 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.3288, allocations: 136.4 kB / 0.6219 GB, free: 5.289 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.329, allocations: 242.7 kB / 0.6222 GB, free: 5.051 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.33, allocations: 0.9053 MB / 0.623 GB, free: 4.145 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3301, allocations: 0.5 kB / 0.623 GB, free: 4.145 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3301, allocations: 0.7188 kB / 0.623 GB, free: 4.145 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.585e-06/0.3301, allocations: 0 / 0.623 GB, free: 4.145 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001188/0.3313, allocations: 0.8815 MB / 0.6239 GB, free: 3.215 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.3313, allocations: 8.906 kB / 0.6239 GB, free: 3.207 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.3315, allocations: 56.28 kB / 0.624 GB, free: 3.152 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006665/0.3322, allocations: 473 kB / 0.6244 GB, free: 2.652 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.3322, allocations: 28.5 kB / 0.6244 GB, free: 2.625 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.3322, allocations: 28.53 kB / 0.6245 GB, free: 2.598 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.3327, allocations: 283.6 kB / 0.6247 GB, free: 2.301 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3327, allocations: 0 / 0.6247 GB, free: 2.301 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.3328, allocations: 12 kB / 0.6248 GB, free: 2.289 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3328, allocations: 4 kB / 0.6248 GB, free: 2.285 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.3332, allocations: 194.1 kB / 0.6249 GB, free: 2.098 MB / 462.1 MB 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.001778/0.335, allocations: 1.478 MB / 0.6264 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.3353, allocations: 170.1 kB / 0.6265 GB, free: 348 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.3355, allocations: 76.81 kB / 0.6266 GB, free: 268 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/0.3369, allocations: 1.285 MB / 0.6279 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.337, allocations: 42.48 kB / 0.6279 GB, free: 14.73 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.337, allocations: 0 / 0.6279 GB, free: 14.73 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005919/0.3376, allocations: 243.7 kB / 0.6282 GB, free: 14.49 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.3376, allocations: 59.34 kB / 0.6282 GB, free: 14.42 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000631/0.3383, allocations: 0.5848 MB / 0.6288 GB, free: 13.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.3383, allocations: 29.7 kB / 0.6288 GB, free: 13.79 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.3385, allocations: 268.1 kB / 0.6291 GB, free: 13.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.3386, allocations: 55.2 kB / 0.6291 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.874e-05/0.3387, allocations: 69.97 kB / 0.6292 GB, free: 13.39 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3388, allocations: 358.7 kB / 0.6295 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.339, allocations: 85.92 kB / 0.6296 GB, free: 12.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.3393, allocations: 215.2 kB / 0.6298 GB, free: 12.69 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.3397, allocations: 242.9 kB / 0.63 GB, free: 12.42 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3397, allocations: 0 / 0.63 GB, free: 12.42 MB / 478.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005824/0.3403, allocations: 308.7 kB / 0.6303 GB, free: 12.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3403, allocations: 12.19 kB / 0.6303 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3403, allocations: 4 kB / 0.6304 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3404, allocations: 4 kB / 0.6304 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.3406, allocations: 63.91 kB / 0.6304 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.3406, allocations: 4 kB / 0.6304 GB, free: 12.03 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003064/0.3409, allocations: 43.66 kB / 0.6305 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.341, allocations: 19.98 kB / 0.6305 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002914/0.3413, allocations: 216.6 kB / 0.6307 GB, free: 11.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002581/0.3416, allocations: 209.6 kB / 0.6309 GB, free: 11.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003604/0.3419, allocations: 235.4 kB / 0.6311 GB, free: 11.23 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.3419, allocations: 0 / 0.6311 GB, free: 11.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005561/0.3425, allocations: 303.5 kB / 0.6314 GB, free: 10.93 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.3425, allocations: 12.25 kB / 0.6314 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3425, allocations: 3.938 kB / 0.6314 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/0.3425, allocations: 11.92 kB / 0.6314 GB, free: 10.91 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.3428, allocations: 63.91 kB / 0.6315 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3428, allocations: 7.938 kB / 0.6315 GB, free: 10.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000317/0.3431, allocations: 35.81 kB / 0.6315 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.3431, allocations: 16 kB / 0.6315 GB, free: 10.79 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001134/0.3433, allocations: 200.1 kB / 0.6317 GB, free: 10.58 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.433e-05/0.3433, allocations: 55.28 kB / 0.6318 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005526/0.3439, allocations: 255 kB / 0.632 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.3439, allocations: 0 / 0.632 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3439, allocations: 0 / 0.632 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3439, allocations: 4 kB / 0.632 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009712/0.3449, allocations: 0.7425 MB / 0.6328 GB, free: 9.465 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3449, allocations: 0 / 0.6328 GB, free: 9.465 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001251/0.3451, allocations: 35.98 kB / 0.6328 GB, free: 9.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3451, allocations: 4 kB / 0.6328 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3451, allocations: 384 / 0.6328 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3451, allocations: 4.125 kB / 0.6328 GB, free: 9.422 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3451, allocations: 7.938 kB / 0.6328 GB, free: 9.414 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.3456, allocations: 366 kB / 0.6332 GB, free: 9.027 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.3457, allocations: 140.5 kB / 0.6333 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.3458, allocations: 11.98 kB / 0.6333 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.346, allocations: 4 kB / 0.6333 GB, free: 8.855 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.186e-05/0.3461, allocations: 27.91 kB / 0.6333 GB, free: 8.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.3461, allocations: 8 kB / 0.6333 GB, free: 8.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004477/0.3465, allocations: 418.8 kB / 0.6337 GB, free: 8.414 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3465, allocations: 0 / 0.6337 GB, free: 8.414 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007223/0.3473, allocations: 227.7 kB / 0.634 GB, free: 8.191 MB / 478.1 MB 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 (17): * Single equations (assignments): 15 * 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.001034/0.3483, allocations: 0.4934 MB / 0.6344 GB, free: 7.859 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006663/0.349, allocations: 331.1 kB / 0.6348 GB, free: 7.539 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.349, allocations: 0 / 0.6348 GB, free: 7.539 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.3492, allocations: 86.77 kB / 0.6348 GB, free: 7.457 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.3503, allocations: 247.8 kB / 0.6351 GB, free: 7.223 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.3515, allocations: 0.8052 MB / 0.6359 GB, free: 6.379 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.3519, allocations: 0.8468 MB / 0.6367 GB, free: 5.504 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002856/0.3521, allocations: 106.5 kB / 0.6368 GB, free: 5.402 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.3522, allocations: 43.42 kB / 0.6368 GB, free: 5.363 MB / 478.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3522, allocations: 0 / 0.6368 GB, free: 5.363 MB / 478.1 MB Notification: Performance of Templates: time 0.01599/0.3682, allocations: 10.29 MB / 0.6469 GB, free: 11.23 MB / 494.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)