Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 113.1 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.001572/0.001572, 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002136/0.002136, allocations: 287.6 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9317/0.9317, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 93.41 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1622, allocations: 86.97 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.2861/0.4483, allocations: 15.53 MB / 0.6968 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0066/0.4549, allocations: 4.336 MB / 0.701 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006875/0.4556, allocations: 16.97 kB / 0.701 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009055/0.4566, allocations: 258.4 kB / 0.7013 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.4581, allocations: 0.6048 MB / 0.7019 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.4602, allocations: 0.7083 MB / 0.7026 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.4615, allocations: 1.032 MB / 0.7036 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005137/0.462, allocations: 333.6 kB / 0.7039 GB, free: 6.109 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006668/0.4627, allocations: 424.8 kB / 0.7043 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004356/0.4631, allocations: 321.7 kB / 0.7046 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.071e-05/0.4632, allocations: 27.41 kB / 0.7046 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.4645, allocations: 0.6346 MB / 0.7052 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.4647, allocations: 99.59 kB / 0.7053 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.4649, allocations: 226.8 kB / 0.7056 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001137/0.466, allocations: 0.7695 MB / 0.7063 GB, free: 5.098 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.466, allocations: 0 / 0.7063 GB, free: 5.098 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.466, allocations: 0 / 0.7063 GB, free: 5.098 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.466, allocations: 1.25 kB / 0.7063 GB, free: 5.098 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001167/0.4672, allocations: 0.8345 MB / 0.7071 GB, free: 4.441 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4673, allocations: 9.188 kB / 0.7071 GB, free: 4.441 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.4674, allocations: 56.25 kB / 0.7072 GB, free: 4.414 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.4681, allocations: 429.1 kB / 0.7076 GB, free: 4.102 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.4681, allocations: 23.86 kB / 0.7076 GB, free: 4.09 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.4682, allocations: 31.78 kB / 0.7076 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.4686, allocations: 216.2 kB / 0.7079 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4686, allocations: 0 / 0.7079 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/0.4687, allocations: 9.219 kB / 0.7079 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.4687, allocations: 5.594 kB / 0.7079 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.4691, allocations: 166.9 kB / 0.708 GB, free: 3.93 MB / 494.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.001556/0.4706, allocations: 0.9377 MB / 0.7089 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.4709, allocations: 134.8 kB / 0.7091 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.4711, allocations: 69.08 kB / 0.7091 GB, free: 3.223 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002102/0.4713, allocations: 339.3 kB / 0.7095 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.4713, allocations: 39.09 kB / 0.7095 GB, free: 2.797 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.4713, allocations: 0 / 0.7095 GB, free: 2.797 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006063/0.472, allocations: 239.2 kB / 0.7097 GB, free: 2.699 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.472, allocations: 53.41 kB / 0.7098 GB, free: 2.637 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005293/0.4725, allocations: 479 kB / 0.7102 GB, free: 2.418 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.4726, allocations: 32.42 kB / 0.7103 GB, free: 2.383 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.4727, allocations: 238.5 kB / 0.7105 GB, free: 2.188 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.4727, allocations: 41.28 kB / 0.7105 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.123e-05/0.4728, allocations: 64.78 kB / 0.7106 GB, free: 2.117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.4729, allocations: 353.6 kB / 0.7109 GB, free: 1.785 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.4731, allocations: 73.5 kB / 0.711 GB, free: 1.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.4734, allocations: 152 kB / 0.7111 GB, free: 1.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.4737, allocations: 164.7 kB / 0.7113 GB, free: 1.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4737, allocations: 4 kB / 0.7113 GB, free: 1.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005192/0.4743, allocations: 258.7 kB / 0.7116 GB, free: 1.465 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4743, allocations: 5.422 kB / 0.7116 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4743, allocations: 1.844 kB / 0.7116 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4743, allocations: 1 kB / 0.7116 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.4746, allocations: 47.34 kB / 0.7116 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.4746, allocations: 1.719 kB / 0.7116 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.4749, allocations: 40.67 kB / 0.7116 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.4749, allocations: 14.48 kB / 0.7117 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002681/0.4752, allocations: 187.4 kB / 0.7118 GB, free: 1.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002302/0.4754, allocations: 161.9 kB / 0.712 GB, free: 1.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003181/0.4758, allocations: 165.5 kB / 0.7121 GB, free: 1.121 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/0.4758, allocations: 3.938 kB / 0.7122 GB, free: 1.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005309/0.4763, allocations: 257.2 kB / 0.7124 GB, free: 1.004 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.4763, allocations: 8.391 kB / 0.7124 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-06/0.4763, allocations: 1.219 kB / 0.7124 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.4763, allocations: 2.844 kB / 0.7124 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.4766, allocations: 50.55 kB / 0.7125 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.4766, allocations: 6.453 kB / 0.7125 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.4769, allocations: 30.98 kB / 0.7125 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.4769, allocations: 14.61 kB / 0.7125 GB, free: 0.9805 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.15e-05/0.477, allocations: 197.5 kB / 0.7127 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.01e-05/0.4771, allocations: 43.22 kB / 0.7127 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005829/0.4777, allocations: 249.5 kB / 0.713 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.4777, allocations: 2.578 kB / 0.713 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4777, allocations: 1.094 kB / 0.713 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4778, allocations: 5.266 kB / 0.713 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.4788, allocations: 0.6966 MB / 0.7137 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.4788, allocations: 3.797 kB / 0.7137 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.4789, allocations: 31.91 kB / 0.7137 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4789, allocations: 6.531 kB / 0.7137 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.479, allocations: 2.953 kB / 0.7137 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.479, allocations: 6.219 kB / 0.7137 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.479, allocations: 1.594 kB / 0.7137 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/0.4795, allocations: 343 kB / 0.714 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.4797, allocations: 139.9 kB / 0.7142 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.477e-05/0.4798, allocations: 2.344 kB / 0.7142 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.48, allocations: 20.19 kB / 0.7142 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.48, allocations: 15.98 kB / 0.7142 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.4801, allocations: 10.38 kB / 0.7142 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004236/0.4805, allocations: 336.3 kB / 0.7145 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4805, allocations: 0 / 0.7145 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007335/0.4812, allocations: 205.8 kB / 0.7147 GB, free: 15.57 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 (16): * Single equations (assignments): 14 * 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.001105/0.4824, allocations: 489 kB / 0.7152 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006867/0.483, allocations: 269.2 kB / 0.7155 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4831, allocations: 0 / 0.7155 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.4833, allocations: 88.41 kB / 0.7155 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4843, allocations: 202.7 kB / 0.7157 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.4856, allocations: 0.6923 MB / 0.7164 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.486, allocations: 0.8285 MB / 0.7172 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002579/0.4862, allocations: 90.11 kB / 0.7173 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/0.4863, allocations: 37.97 kB / 0.7173 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.4863, allocations: 0 / 0.7173 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of Templates: time 0.01593/0.5022, allocations: 8.485 MB / 0.7256 GB, free: 11.21 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)