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.001039/0.001039, 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.001078/0.001078, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.16 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.8375/0.8375, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.91 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3885, allocations: 82.03 MB / 0.5957 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01337/0.4019, allocations: 17.45 MB / 0.6127 GB, free: 14.7 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006816/0.4088, allocations: 4.916 MB / 0.6175 GB, free: 9.789 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005576/0.4094, allocations: 11.94 kB / 0.6175 GB, free: 9.777 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008819/0.4103, allocations: 263.6 kB / 0.6178 GB, free: 9.52 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001482/0.4118, allocations: 0.605 MB / 0.6184 GB, free: 8.918 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001881/0.4137, allocations: 0.731 MB / 0.6191 GB, free: 8.199 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.4149, allocations: 0.971 MB / 0.6201 GB, free: 7.227 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000466/0.4154, allocations: 329.5 kB / 0.6204 GB, free: 6.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006618/0.416, allocations: 427.8 kB / 0.6208 GB, free: 6.492 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003868/0.4164, allocations: 307.2 kB / 0.6211 GB, free: 6.191 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.263e-05/0.4165, allocations: 28.5 kB / 0.6211 GB, free: 6.164 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001205/0.4177, allocations: 0.7259 MB / 0.6218 GB, free: 5.438 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.4179, allocations: 136.2 kB / 0.6219 GB, free: 5.305 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.4181, allocations: 238.6 kB / 0.6222 GB, free: 5.07 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.4192, allocations: 0.9059 MB / 0.623 GB, free: 4.164 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4192, allocations: 0 / 0.623 GB, free: 4.164 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4192, allocations: 0.6562 kB / 0.623 GB, free: 4.164 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.4193, allocations: 0 / 0.623 GB, free: 4.164 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.001335/0.4206, allocations: 0.8826 MB / 0.6239 GB, free: 3.234 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.4206, allocations: 8.031 kB / 0.6239 GB, free: 3.227 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001737/0.4208, allocations: 68.27 kB / 0.624 GB, free: 3.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007306/0.4216, allocations: 460.4 kB / 0.6244 GB, free: 2.672 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.4216, allocations: 25.28 kB / 0.6244 GB, free: 2.648 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.475e-05/0.4217, allocations: 28 kB / 0.6245 GB, free: 2.621 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.4222, allocations: 290.8 kB / 0.6247 GB, free: 2.316 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4222, allocations: 0 / 0.6247 GB, free: 2.316 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.381e-05/0.4222, allocations: 8 kB / 0.6248 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4222, allocations: 8 kB / 0.6248 GB, free: 2.301 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.4226, allocations: 190.1 kB / 0.6249 GB, free: 2.117 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.00174/0.4244, allocations: 1.482 MB / 0.6264 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.4247, allocations: 170 kB / 0.6266 GB, free: 364 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.4249, allocations: 80.81 kB / 0.6266 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/0.4263, allocations: 1.284 MB / 0.6279 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.4264, allocations: 34.5 kB / 0.6279 GB, free: 14.75 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.392e-06/0.4264, allocations: 4 kB / 0.6279 GB, free: 14.75 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005795/0.4269, allocations: 245.2 kB / 0.6282 GB, free: 14.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.427, allocations: 55.34 kB / 0.6282 GB, free: 14.44 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005962/0.4276, allocations: 0.5809 MB / 0.6288 GB, free: 13.84 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.4276, allocations: 33.7 kB / 0.6288 GB, free: 13.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.4278, allocations: 264.1 kB / 0.6291 GB, free: 13.54 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.4279, allocations: 63.12 kB / 0.6291 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.7e-05/0.428, allocations: 65.97 kB / 0.6292 GB, free: 13.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4281, allocations: 362.8 kB / 0.6295 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.4283, allocations: 81.88 kB / 0.6296 GB, free: 12.96 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.4286, allocations: 219.2 kB / 0.6298 GB, free: 12.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.429, allocations: 239 kB / 0.63 GB, free: 12.44 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.429, allocations: 0 / 0.63 GB, free: 12.44 MB / 478.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005655/0.4296, allocations: 308.8 kB / 0.6303 GB, free: 12.13 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4296, allocations: 13.66 kB / 0.6304 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4296, allocations: 4 kB / 0.6304 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4296, allocations: 4 kB / 0.6304 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.4299, allocations: 59.91 kB / 0.6304 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.4299, allocations: 11.92 kB / 0.6304 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.4302, allocations: 47.92 kB / 0.6305 GB, free: 11.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.4303, allocations: 12 kB / 0.6305 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002843/0.4305, allocations: 220.6 kB / 0.6307 GB, free: 11.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002661/0.4308, allocations: 205.6 kB / 0.6309 GB, free: 11.51 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003547/0.4312, allocations: 235.4 kB / 0.6311 GB, free: 11.25 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.934e-06/0.4312, allocations: 0 / 0.6311 GB, free: 11.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005209/0.4317, allocations: 312.7 kB / 0.6314 GB, free: 10.94 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.4317, allocations: 4 kB / 0.6314 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4317, allocations: 7.938 kB / 0.6314 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/0.4318, allocations: 7.938 kB / 0.6314 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.432, allocations: 59.91 kB / 0.6315 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.432, allocations: 4 kB / 0.6315 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.4323, allocations: 44.06 kB / 0.6315 GB, free: 10.81 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.4323, allocations: 8 kB / 0.6315 GB, free: 10.8 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.0001113/0.4325, allocations: 200.1 kB / 0.6317 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.971e-05/0.4325, allocations: 55.28 kB / 0.6318 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005331/0.4331, allocations: 260 kB / 0.632 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.4331, allocations: 8 kB / 0.632 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4331, allocations: 0 / 0.632 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4331, allocations: 3.984 kB / 0.632 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009734/0.4341, allocations: 0.7316 MB / 0.6328 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.4341, allocations: 0 / 0.6328 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.4342, allocations: 32.3 kB / 0.6328 GB, free: 9.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4343, allocations: 192 / 0.6328 GB, free: 9.449 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.4343, allocations: 11.94 kB / 0.6328 GB, free: 9.438 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.4343, allocations: 3.938 kB / 0.6328 GB, free: 9.434 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4343, allocations: 4 kB / 0.6328 GB, free: 9.43 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.4348, allocations: 358.1 kB / 0.6332 GB, free: 9.051 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.4349, allocations: 148.4 kB / 0.6333 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.435, allocations: 8 kB / 0.6333 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.4352, allocations: 7.984 kB / 0.6333 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.618e-05/0.4352, allocations: 31.86 kB / 0.6333 GB, free: 8.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.4353, allocations: 8 kB / 0.6333 GB, free: 8.832 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004273/0.4357, allocations: 418.8 kB / 0.6337 GB, free: 8.426 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4357, allocations: 4 kB / 0.6338 GB, free: 8.422 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006953/0.4364, allocations: 219.7 kB / 0.634 GB, free: 8.207 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.001102/0.4375, allocations: 498.3 kB / 0.6344 GB, free: 7.883 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006863/0.4382, allocations: 327.6 kB / 0.6347 GB, free: 7.562 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4382, allocations: 0 / 0.6347 GB, free: 7.562 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001831/0.4384, allocations: 92.95 kB / 0.6348 GB, free: 7.473 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.4395, allocations: 259.4 kB / 0.6351 GB, free: 7.234 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.4409, allocations: 0.8013 MB / 0.6359 GB, free: 6.395 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.4414, allocations: 0.8432 MB / 0.6367 GB, free: 5.523 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002973/0.4417, allocations: 104 kB / 0.6368 GB, free: 5.422 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/0.4418, allocations: 39.42 kB / 0.6368 GB, free: 5.387 MB / 478.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4418, allocations: 0 / 0.6368 GB, free: 5.387 MB / 478.1 MB Notification: Performance of Templates: time 0.01681/0.4586, allocations: 10.29 MB / 0.6469 GB, free: 11.26 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)