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.001137/0.001137, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.9773/0.9773, allocations: 143 MB / 433.4 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.89 kB / 0.5142 GB, free: 11.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1603, allocations: 82.04 MB / 0.5943 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.2865/0.4469, allocations: 17.44 MB / 0.6113 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005129/0.452, allocations: 4.909 MB / 0.6161 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004236/0.4525, allocations: 15.31 kB / 0.6161 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006656/0.4532, allocations: 260.3 kB / 0.6164 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.4543, allocations: 0.6065 MB / 0.617 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.4557, allocations: 0.721 MB / 0.6177 GB, free: 32.67 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009128/0.4566, allocations: 0.9701 MB / 0.6186 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003651/0.457, allocations: 328.7 kB / 0.6189 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004758/0.4575, allocations: 421.5 kB / 0.6193 GB, free: 32.01 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.4578, allocations: 306.5 kB / 0.6196 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.4579, allocations: 29.31 kB / 0.6196 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009535/0.4588, allocations: 0.729 MB / 0.6204 GB, free: 31.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.703e-05/0.4589, allocations: 133.4 kB / 0.6205 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.4591, allocations: 244.9 kB / 0.6207 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008228/0.4599, allocations: 0.8961 MB / 0.6216 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.4599, allocations: 0 / 0.6216 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.41e-07/0.4599, allocations: 0 / 0.6216 GB, free: 31.1 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.46, allocations: 0 / 0.6216 GB, free: 31.1 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.0009649/0.4609, allocations: 0.8787 MB / 0.6225 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.461, allocations: 8 kB / 0.6225 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.4611, allocations: 70.06 kB / 0.6225 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.4616, allocations: 446.2 kB / 0.623 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.4616, allocations: 24.78 kB / 0.623 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.4617, allocations: 31.38 kB / 0.623 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.4621, allocations: 280.9 kB / 0.6233 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4621, allocations: 7.875 kB / 0.6233 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.4621, allocations: 13.95 kB / 0.6233 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.4621, allocations: 5.375 kB / 0.6233 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003665/0.4625, allocations: 188.2 kB / 0.6235 GB, free: 29.81 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.001376/0.4639, allocations: 1.485 MB / 0.6249 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.4642, allocations: 167.6 kB / 0.6251 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.4643, allocations: 80.53 kB / 0.6252 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/0.4655, allocations: 1.281 MB / 0.6264 GB, free: 27.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.4656, allocations: 34.56 kB / 0.6265 GB, free: 27.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.4656, allocations: 0 / 0.6265 GB, free: 27.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005873/0.4662, allocations: 252.6 kB / 0.6267 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.4662, allocations: 55.34 kB / 0.6267 GB, free: 27.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.4667, allocations: 0.5839 MB / 0.6273 GB, free: 26.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.4667, allocations: 32.58 kB / 0.6273 GB, free: 26.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.4669, allocations: 265.6 kB / 0.6276 GB, free: 26.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.4669, allocations: 62.77 kB / 0.6277 GB, free: 26.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.887e-05/0.467, allocations: 71.2 kB / 0.6277 GB, free: 26.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.031e-05/0.4671, allocations: 361.6 kB / 0.6281 GB, free: 26.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.4673, allocations: 80.14 kB / 0.6282 GB, free: 26.19 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.4675, allocations: 209.6 kB / 0.6284 GB, free: 26.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.4678, allocations: 232.6 kB / 0.6286 GB, free: 25.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.4678, allocations: 3.938 kB / 0.6286 GB, free: 25.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005097/0.4684, allocations: 322.6 kB / 0.6289 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.4684, allocations: 10.22 kB / 0.6289 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4684, allocations: 2.719 kB / 0.6289 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4684, allocations: 2.844 kB / 0.6289 GB, free: 25.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.4687, allocations: 62.89 kB / 0.629 GB, free: 25.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.4687, allocations: 6.203 kB / 0.629 GB, free: 25.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.469, allocations: 44.22 kB / 0.629 GB, free: 25.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.469, allocations: 18.95 kB / 0.629 GB, free: 25.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002542/0.4693, allocations: 213.5 kB / 0.6292 GB, free: 25.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002168/0.4695, allocations: 207 kB / 0.6294 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003122/0.4698, allocations: 225.8 kB / 0.6296 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.973e-06/0.4698, allocations: 2.688 kB / 0.6296 GB, free: 25.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0004921/0.4703, allocations: 311.7 kB / 0.6299 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.4703, allocations: 5.625 kB / 0.6299 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4704, allocations: 2.844 kB / 0.6299 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.111e-06/0.4704, allocations: 10.47 kB / 0.63 GB, free: 25.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.4706, allocations: 59.98 kB / 0.63 GB, free: 25.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.4706, allocations: 6.031 kB / 0.63 GB, free: 25.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.4709, allocations: 39.91 kB / 0.6301 GB, free: 25.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.4709, allocations: 10.66 kB / 0.6301 GB, free: 25.1 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 0.0001148/0.4711, allocations: 204.4 kB / 0.6303 GB, free: 24.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.274e-05/0.4712, allocations: 57.19 kB / 0.6303 GB, free: 24.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.4717, allocations: 262.9 kB / 0.6306 GB, free: 24.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.4717, allocations: 2.875 kB / 0.6306 GB, free: 24.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.4718, allocations: 0 / 0.6306 GB, free: 24.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4718, allocations: 3.422 kB / 0.6306 GB, free: 24.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009872/0.4728, allocations: 0.7402 MB / 0.6313 GB, free: 24.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4728, allocations: 3.062 kB / 0.6313 GB, free: 24.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.4729, allocations: 38.08 kB / 0.6313 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4729, allocations: 0 / 0.6313 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.4729, allocations: 3 kB / 0.6313 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4729, allocations: 2.875 kB / 0.6313 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.473, allocations: 2.875 kB / 0.6313 GB, free: 24.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.4734, allocations: 353.5 kB / 0.6317 GB, free: 24.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.4736, allocations: 152.7 kB / 0.6318 GB, free: 23.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/0.4736, allocations: 6.875 kB / 0.6318 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.4738, allocations: 8.797 kB / 0.6318 GB, free: 23.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.4739, allocations: 20.69 kB / 0.6319 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.4739, allocations: 9.719 kB / 0.6319 GB, free: 23.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004593/0.4744, allocations: 419.7 kB / 0.6323 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4744, allocations: 0 / 0.6323 GB, free: 23.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008104/0.4752, allocations: 228.5 kB / 0.6325 GB, free: 23.64 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.00152/0.4767, allocations: 0.4941 MB / 0.633 GB, free: 23.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007822/0.4775, allocations: 336.7 kB / 0.6333 GB, free: 23.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4776, allocations: 4 kB / 0.6333 GB, free: 23.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.4777, allocations: 84.08 kB / 0.6334 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.479, allocations: 261.8 kB / 0.6336 GB, free: 23.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.4803, allocations: 0.8139 MB / 0.6344 GB, free: 22.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.4806, allocations: 0.8419 MB / 0.6352 GB, free: 22.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000357/0.4809, allocations: 103.6 kB / 0.6353 GB, free: 22.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.79e-05/0.481, allocations: 40.94 kB / 0.6354 GB, free: 22.03 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.481, allocations: 0 / 0.6354 GB, free: 22.03 MB / 0.4981 GB Notification: Performance of Templates: time 0.01961/0.5007, allocations: 10.29 MB / 0.6454 GB, free: 21.18 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)