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.0008308/0.0008309, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008882/0.0008882, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 223.3 MB / 240 MB, free: 5.266 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.8549/0.8549, allocations: 143.2 MB / 434.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002703/0.0002704, allocations: 12 kB / 0.5158 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 83.41 MB / 0.5973 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.2309/0.3546, allocations: 16 MB / 0.6129 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004015/0.3586, allocations: 4.592 MB / 0.6174 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.3589, allocations: 13.97 kB / 0.6174 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005002/0.3594, allocations: 188 kB / 0.6176 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000698/0.3601, allocations: 0.4984 MB / 0.618 GB, free: 34.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009964/0.3611, allocations: 0.6053 MB / 0.6186 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007153/0.3618, allocations: 1.096 MB / 0.6197 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.3621, allocations: 254.6 kB / 0.6199 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.3625, allocations: 360.8 kB / 0.6203 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.3627, allocations: 293.1 kB / 0.6206 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.755e-05/0.3628, allocations: 16.81 kB / 0.6206 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006898/0.3635, allocations: 0.5938 MB / 0.6212 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.593e-05/0.3636, allocations: 112.3 kB / 0.6213 GB, free: 32.81 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.3636, allocations: 112.1 kB / 0.6214 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004455/0.3641, allocations: 0.6084 MB / 0.622 GB, free: 32.58 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3641, allocations: 6.812 kB / 0.622 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3641, allocations: 0 / 0.622 GB, free: 32.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3641, allocations: 0 / 0.622 GB, free: 32.57 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.0007634/0.3649, allocations: 0.8004 MB / 0.6228 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.589e-05/0.3649, allocations: 9.062 kB / 0.6228 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.365, allocations: 64.28 kB / 0.6228 GB, free: 31.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.3654, allocations: 427 kB / 0.6232 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3655, allocations: 19.91 kB / 0.6233 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.3655, allocations: 33.78 kB / 0.6233 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.3659, allocations: 291.9 kB / 0.6236 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3659, allocations: 3.469 kB / 0.6236 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.3659, allocations: 10.5 kB / 0.6236 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3659, allocations: 8.062 kB / 0.6236 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.3663, allocations: 195.5 kB / 0.6238 GB, free: 31.36 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.001224/0.3675, allocations: 1.483 MB / 0.6252 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.3677, allocations: 169.6 kB / 0.6254 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.3679, allocations: 86.97 kB / 0.6255 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.3689, allocations: 1.285 MB / 0.6267 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.148e-05/0.3689, allocations: 37.75 kB / 0.6268 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.3689, allocations: 2.812 kB / 0.6268 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0004643/0.3694, allocations: 267.2 kB / 0.627 GB, free: 28.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.3694, allocations: 61.64 kB / 0.6271 GB, free: 28.69 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004349/0.3699, allocations: 0.5719 MB / 0.6276 GB, free: 28.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.3699, allocations: 32.45 kB / 0.6277 GB, free: 28.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.37, allocations: 278.1 kB / 0.6279 GB, free: 28.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.3701, allocations: 53.88 kB / 0.628 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/0.3701, allocations: 7.938 kB / 0.628 GB, free: 28.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.3701, allocations: 354.7 kB / 0.6283 GB, free: 27.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.3703, allocations: 77.59 kB / 0.6284 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/0.3705, allocations: 215.2 kB / 0.6286 GB, free: 27.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.3706, allocations: 101.2 kB / 0.6287 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3706, allocations: 0 / 0.6287 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004173/0.3711, allocations: 319.3 kB / 0.629 GB, free: 27.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.3711, allocations: 165 kB / 0.6292 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3711, allocations: 0 / 0.6292 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3711, allocations: 6.125 kB / 0.6292 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.3714, allocations: 67.53 kB / 0.6292 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.3714, allocations: 13.47 kB / 0.6292 GB, free: 27.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.3716, allocations: 54.39 kB / 0.6293 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.3717, allocations: 15.25 kB / 0.6293 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.388e-06/0.3717, allocations: 2.75 kB / 0.6293 GB, free: 27.21 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003557/0.372, allocations: 242.5 kB / 0.6295 GB, free: 27.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.3721, allocations: 2.906 kB / 0.6295 GB, free: 27.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.148e-06/0.3721, allocations: 5.969 kB / 0.6296 GB, free: 27.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.3723, allocations: 67.5 kB / 0.6296 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.3723, allocations: 2.875 kB / 0.6296 GB, free: 27.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.3725, allocations: 44.73 kB / 0.6297 GB, free: 27.11 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.3725, allocations: 14.94 kB / 0.6297 GB, free: 27.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.3727, allocations: 264.4 kB / 0.6299 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.111e-05/0.3727, allocations: 54.06 kB / 0.63 GB, free: 26.85 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000411/0.3731, allocations: 273.1 kB / 0.6302 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3731, allocations: 0 / 0.6302 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3732, allocations: 192 / 0.6302 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3732, allocations: 0 / 0.6302 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006878/0.3739, allocations: 0.7541 MB / 0.631 GB, free: 26.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3739, allocations: 0 / 0.631 GB, free: 26.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.374, allocations: 32.53 kB / 0.631 GB, free: 26.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.374, allocations: 6.812 kB / 0.631 GB, free: 26.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.374, allocations: 9.781 kB / 0.631 GB, free: 26.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.374, allocations: 7 kB / 0.631 GB, free: 26.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.374, allocations: 0 / 0.631 GB, free: 26.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.3743, allocations: 366.3 kB / 0.6314 GB, free: 25.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/0.3744, allocations: 158.8 kB / 0.6315 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.3745, allocations: 0 / 0.6315 GB, free: 25.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.3747, allocations: 27.25 kB / 0.6316 GB, free: 25.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.3747, allocations: 16.58 kB / 0.6316 GB, free: 25.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.3747, allocations: 9.531 kB / 0.6316 GB, free: 25.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003106/0.3751, allocations: 412.2 kB / 0.632 GB, free: 25.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3751, allocations: 0 / 0.632 GB, free: 25.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000556/0.3756, allocations: 233 kB / 0.6322 GB, free: 25.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008562/0.3765, allocations: 0.4899 MB / 0.6327 GB, free: 25.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.377, allocations: 330.3 kB / 0.633 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.377, allocations: 0 / 0.633 GB, free: 25.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.3772, allocations: 91.16 kB / 0.6331 GB, free: 25.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009851/0.3782, allocations: 272.3 kB / 0.6333 GB, free: 25.22 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008792/0.3791, allocations: 0.9599 MB / 0.6343 GB, free: 24.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.3793, allocations: 0.8432 MB / 0.6351 GB, free: 23.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002745/0.3795, allocations: 103.5 kB / 0.6352 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.3796, allocations: 41 kB / 0.6352 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.3796, allocations: 0 / 0.6352 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.01234/0.392, allocations: 9.682 MB / 0.6447 GB, free: 23.07 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)