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.001327/0.001327, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001502/0.001502, allocations: 193.6 kB / 16.14 MB, free: 6.688 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.376/1.376, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.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.9772/0.9772, allocations: 143 MB / 433 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 55.91 kB / 0.5135 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1738, allocations: 82.04 MB / 0.5936 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.3104/0.4842, allocations: 17.37 MB / 0.6106 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005742/0.49, allocations: 4.939 MB / 0.6154 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005774/0.4906, allocations: 16.66 kB / 0.6154 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008044/0.4914, allocations: 208.8 kB / 0.6156 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.4927, allocations: 0.555 MB / 0.6162 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.4944, allocations: 0.6481 MB / 0.6168 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001157/0.4955, allocations: 1.265 MB / 0.618 GB, free: 32.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003711/0.4959, allocations: 303.3 kB / 0.6183 GB, free: 32.65 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005624/0.4965, allocations: 379.2 kB / 0.6187 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.4968, allocations: 320.5 kB / 0.619 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/0.4969, allocations: 19.97 kB / 0.619 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.498, allocations: 0.692 MB / 0.6197 GB, free: 32.13 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.4981, allocations: 128.6 kB / 0.6198 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.4983, allocations: 236.9 kB / 0.62 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008795/0.4992, allocations: 0.8828 MB / 0.6209 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.4992, allocations: 0 / 0.6209 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.62e-07/0.4992, allocations: 0 / 0.6209 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.4992, allocations: 0 / 0.6209 GB, free: 31.61 MB / 0.4981 GB 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.001136/0.5004, allocations: 0.8776 MB / 0.6217 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5004, allocations: 9.906 kB / 0.6218 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.5006, allocations: 63.8 kB / 0.6218 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.5011, allocations: 444.4 kB / 0.6222 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.5011, allocations: 28.28 kB / 0.6223 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.5012, allocations: 26.12 kB / 0.6223 GB, free: 30.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.5016, allocations: 284.8 kB / 0.6226 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.5016, allocations: 3.938 kB / 0.6226 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.5017, allocations: 10.88 kB / 0.6226 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.5017, allocations: 6 kB / 0.6226 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.5021, allocations: 190.1 kB / 0.6228 GB, free: 30.34 MB / 0.4981 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.001474/0.5036, allocations: 1.477 MB / 0.6242 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.5039, allocations: 168.3 kB / 0.6244 GB, free: 29.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.504, allocations: 85.36 kB / 0.6244 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.5053, allocations: 1.283 MB / 0.6257 GB, free: 27.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.5054, allocations: 37.38 kB / 0.6257 GB, free: 27.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.5054, allocations: 0 / 0.6257 GB, free: 27.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005737/0.506, allocations: 246.6 kB / 0.626 GB, free: 27.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.506, allocations: 59.34 kB / 0.626 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005234/0.5065, allocations: 0.5847 MB / 0.6266 GB, free: 27.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.5066, allocations: 32.55 kB / 0.6266 GB, free: 27.37 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.5067, allocations: 264.1 kB / 0.6269 GB, free: 27.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.15e-05/0.5067, allocations: 58.88 kB / 0.6269 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/0.5068, allocations: 72.69 kB / 0.627 GB, free: 27.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.145e-05/0.5069, allocations: 358.8 kB / 0.6274 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.5071, allocations: 85.39 kB / 0.6274 GB, free: 26.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.5074, allocations: 210.1 kB / 0.6276 GB, free: 26.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003377/0.5077, allocations: 234.6 kB / 0.6279 GB, free: 26.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5077, allocations: 0 / 0.6279 GB, free: 26.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005325/0.5082, allocations: 319.3 kB / 0.6282 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.5083, allocations: 9.438 kB / 0.6282 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.5083, allocations: 3.156 kB / 0.6282 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.5083, allocations: 2.719 kB / 0.6282 GB, free: 26.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.5086, allocations: 65.67 kB / 0.6282 GB, free: 26.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.5086, allocations: 5.469 kB / 0.6282 GB, free: 26.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003371/0.5089, allocations: 48.25 kB / 0.6283 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.509, allocations: 16.59 kB / 0.6283 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002773/0.5093, allocations: 211.6 kB / 0.6285 GB, free: 26.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002409/0.5095, allocations: 214.2 kB / 0.6287 GB, free: 25.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000325/0.5098, allocations: 222.2 kB / 0.6289 GB, free: 25.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.435e-06/0.5099, allocations: 0 / 0.6289 GB, free: 25.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005038/0.5104, allocations: 317 kB / 0.6292 GB, free: 25.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.5104, allocations: 5.75 kB / 0.6292 GB, free: 25.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.5104, allocations: 6.344 kB / 0.6292 GB, free: 25.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-06/0.5104, allocations: 6.844 kB / 0.6292 GB, free: 25.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.5106, allocations: 63.48 kB / 0.6293 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.5106, allocations: 5.234 kB / 0.6293 GB, free: 25.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/0.511, allocations: 44.38 kB / 0.6294 GB, free: 25.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.511, allocations: 15.62 kB / 0.6294 GB, free: 25.61 MB / 0.4981 GB 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 9.271e-05/0.5111, allocations: 200.8 kB / 0.6296 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.5112, allocations: 52.22 kB / 0.6296 GB, free: 25.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005113/0.5117, allocations: 270.3 kB / 0.6299 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.5117, allocations: 3.031 kB / 0.6299 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.5117, allocations: 0 / 0.6299 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5117, allocations: 0 / 0.6299 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009051/0.5127, allocations: 0.738 MB / 0.6306 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.5127, allocations: 0.9375 kB / 0.6306 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.5128, allocations: 34.7 kB / 0.6306 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.5128, allocations: 2.812 kB / 0.6306 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.5128, allocations: 6.453 kB / 0.6306 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5128, allocations: 2.844 kB / 0.6306 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5128, allocations: 0 / 0.6306 GB, free: 24.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000404/0.5132, allocations: 359.2 kB / 0.631 GB, free: 24.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.5134, allocations: 142.8 kB / 0.6311 GB, free: 24.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.871e-05/0.5134, allocations: 6.469 kB / 0.6311 GB, free: 24.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.5137, allocations: 16.25 kB / 0.6311 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.5137, allocations: 19.33 kB / 0.6312 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.5137, allocations: 9.625 kB / 0.6312 GB, free: 24.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003554/0.5141, allocations: 417.8 kB / 0.6316 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5141, allocations: 0 / 0.6316 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007328/0.5148, allocations: 228.7 kB / 0.6318 GB, free: 24.15 MB / 0.4981 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 (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.00113/0.516, allocations: 0.5005 MB / 0.6323 GB, free: 23.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006377/0.5166, allocations: 315.2 kB / 0.6326 GB, free: 23.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5166, allocations: 4.25 kB / 0.6326 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.5168, allocations: 92.17 kB / 0.6327 GB, free: 23.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.518, allocations: 256.6 kB / 0.6329 GB, free: 23.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.5192, allocations: 0.9521 MB / 0.6338 GB, free: 23.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.5194, allocations: 0.8474 MB / 0.6347 GB, free: 22.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003226/0.5197, allocations: 96.84 kB / 0.6348 GB, free: 22.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.5198, allocations: 42.48 kB / 0.6348 GB, free: 22.43 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.5198, allocations: 0 / 0.6348 GB, free: 22.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.01695/0.5368, allocations: 10 MB / 0.6446 GB, free: 21.59 MB / 0.4981 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)