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.001237/0.001237, allocations: 106.8 kB / 16.36 MB, free: 6.289 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.00127/0.00127, allocations: 193.5 kB / 17.29 MB, free: 5.855 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.253/1.253, 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.002093/0.002093, allocations: 292.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9049/0.9049, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001873, allocations: 88.48 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1581, allocations: 86.97 MB / 0.6816 GB, free: 7.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.2803/0.4385, allocations: 15.53 MB / 0.6968 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005536/0.4441, allocations: 4.339 MB / 0.701 GB, free: 7.586 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003723/0.4445, allocations: 16.97 kB / 0.701 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007825/0.4453, allocations: 257.9 kB / 0.7013 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.4465, allocations: 0.6039 MB / 0.7018 GB, free: 7.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.4481, allocations: 0.7172 MB / 0.7025 GB, free: 6.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.4493, allocations: 1.024 MB / 0.7035 GB, free: 6.273 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000478/0.4498, allocations: 343.8 kB / 0.7039 GB, free: 6.141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006101/0.4504, allocations: 418.1 kB / 0.7043 GB, free: 5.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.4508, allocations: 329.5 kB / 0.7046 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.4508, allocations: 35.12 kB / 0.7046 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.4519, allocations: 0.627 MB / 0.7052 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.452, allocations: 104.5 kB / 0.7053 GB, free: 5.543 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.4522, allocations: 226.6 kB / 0.7055 GB, free: 5.406 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000982/0.4532, allocations: 0.7574 MB / 0.7063 GB, free: 5.133 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.4532, allocations: 3.938 kB / 0.7063 GB, free: 5.129 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4532, allocations: 0 / 0.7063 GB, free: 5.129 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.4532, allocations: 5.031 kB / 0.7063 GB, free: 5.125 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.001099/0.4543, allocations: 0.831 MB / 0.7071 GB, free: 4.473 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.4544, allocations: 9.781 kB / 0.7071 GB, free: 4.473 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.4545, allocations: 54.88 kB / 0.7072 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/0.4551, allocations: 436.8 kB / 0.7076 GB, free: 4.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.4552, allocations: 21.42 kB / 0.7076 GB, free: 4.117 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.4552, allocations: 26.97 kB / 0.7076 GB, free: 4.109 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/0.4556, allocations: 212 kB / 0.7078 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4557, allocations: 0 / 0.7078 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.4557, allocations: 6.375 kB / 0.7078 GB, free: 4.016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.4557, allocations: 9.125 kB / 0.7078 GB, free: 4.012 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.4561, allocations: 166.8 kB / 0.708 GB, free: 3.965 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.001574/0.4577, allocations: 0.9413 MB / 0.7089 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.458, allocations: 127.8 kB / 0.709 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.4582, allocations: 76.48 kB / 0.7091 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002283/0.4584, allocations: 335.3 kB / 0.7094 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.4584, allocations: 35.67 kB / 0.7095 GB, free: 2.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.4584, allocations: 0 / 0.7095 GB, free: 2.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006715/0.4591, allocations: 242.5 kB / 0.7097 GB, free: 2.734 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.4592, allocations: 57.59 kB / 0.7098 GB, free: 2.668 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/0.4597, allocations: 476.4 kB / 0.7102 GB, free: 2.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.4598, allocations: 27.02 kB / 0.7102 GB, free: 2.422 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.4599, allocations: 237.9 kB / 0.7105 GB, free: 2.227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.46, allocations: 41.78 kB / 0.7105 GB, free: 2.195 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.863e-05/0.4601, allocations: 57.52 kB / 0.7106 GB, free: 2.164 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.19e-05/0.4602, allocations: 357.4 kB / 0.7109 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.4604, allocations: 80.69 kB / 0.711 GB, free: 1.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.4607, allocations: 153.6 kB / 0.7111 GB, free: 1.691 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.461, allocations: 173.1 kB / 0.7113 GB, free: 1.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.461, allocations: 0.9375 kB / 0.7113 GB, free: 1.609 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005052/0.4615, allocations: 253.9 kB / 0.7115 GB, free: 1.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4616, allocations: 7.375 kB / 0.7115 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.4616, allocations: 1.281 kB / 0.7115 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4616, allocations: 6.469 kB / 0.7115 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.4618, allocations: 46.25 kB / 0.7116 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4618, allocations: 6.719 kB / 0.7116 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.4621, allocations: 36.25 kB / 0.7116 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.4622, allocations: 12.5 kB / 0.7116 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000246/0.4624, allocations: 188.6 kB / 0.7118 GB, free: 1.352 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002183/0.4626, allocations: 160.2 kB / 0.712 GB, free: 1.234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002987/0.463, allocations: 166.3 kB / 0.7121 GB, free: 1.148 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.843e-06/0.463, allocations: 3.938 kB / 0.7121 GB, free: 1.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005219/0.4635, allocations: 257.7 kB / 0.7124 GB, free: 1.035 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.4635, allocations: 5.25 kB / 0.7124 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4635, allocations: 2.656 kB / 0.7124 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-06/0.4635, allocations: 5.719 kB / 0.7124 GB, free: 1.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002123/0.4637, allocations: 46.69 kB / 0.7124 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.4638, allocations: 3.016 kB / 0.7124 GB, free: 1.027 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003083/0.4641, allocations: 30.75 kB / 0.7125 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.4641, allocations: 9.625 kB / 0.7125 GB, free: 1.02 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 7.367e-05/0.4642, allocations: 197 kB / 0.7127 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/0.4643, allocations: 43.09 kB / 0.7127 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005439/0.4648, allocations: 249.9 kB / 0.713 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.4648, allocations: 10.23 kB / 0.713 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4648, allocations: 1.844 kB / 0.713 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.4649, allocations: 0.5156 kB / 0.713 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009115/0.4658, allocations: 0.7056 MB / 0.7137 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/0.4658, allocations: 9.438 kB / 0.7137 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.4659, allocations: 27.2 kB / 0.7137 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4659, allocations: 2.75 kB / 0.7137 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.4659, allocations: 3.406 kB / 0.7137 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.4659, allocations: 9.953 kB / 0.7137 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4659, allocations: 1.375 kB / 0.7137 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.4664, allocations: 341.7 kB / 0.714 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.4666, allocations: 139.3 kB / 0.7142 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.111e-05/0.4666, allocations: 6.656 kB / 0.7142 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.4668, allocations: 19.81 kB / 0.7142 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.4669, allocations: 18.2 kB / 0.7142 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.4669, allocations: 7.656 kB / 0.7142 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003911/0.4673, allocations: 335.6 kB / 0.7145 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4673, allocations: 0 / 0.7145 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000668/0.468, allocations: 206.6 kB / 0.7147 GB, free: 15.61 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.001072/0.4691, allocations: 474.1 kB / 0.7152 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006666/0.4698, allocations: 272.8 kB / 0.7154 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4698, allocations: 0 / 0.7154 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002041/0.47, allocations: 84.61 kB / 0.7155 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009855/0.471, allocations: 199.7 kB / 0.7157 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.4721, allocations: 0.7005 MB / 0.7164 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.4725, allocations: 0.8255 MB / 0.7172 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002519/0.4728, allocations: 94.06 kB / 0.7173 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.4729, allocations: 38.95 kB / 0.7173 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.4729, allocations: 5.344 kB / 0.7173 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.01426/0.4871, allocations: 8.485 MB / 0.7256 GB, free: 11.23 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)