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.004227/0.004227, allocations: 101.6 kB / 15.73 MB, free: 5.539 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.00102/0.00102, allocations: 190.3 kB / 16.67 MB, free: 5.477 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002016/0.002016, allocations: 287.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8879/0.8879, allocations: 169.3 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 87.86 kB / 0.6814 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4238, allocations: 86.98 MB / 0.7664 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.0162/0.4401, allocations: 15.54 MB / 0.7816 GB, free: 4.316 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005927/0.446, allocations: 4.33 MB / 0.7858 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004329/0.4465, allocations: 15.88 kB / 0.7858 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007998/0.4473, allocations: 262.3 kB / 0.786 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.4486, allocations: 0.614 MB / 0.7866 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001646/0.4503, allocations: 0.7064 MB / 0.7873 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.4515, allocations: 1.032 MB / 0.7883 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005218/0.452, allocations: 339.8 kB / 0.7887 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007536/0.4528, allocations: 430.2 kB / 0.7891 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005353/0.4533, allocations: 318.6 kB / 0.7894 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.748e-05/0.4534, allocations: 31.94 kB / 0.7894 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.4544, allocations: 0.6239 MB / 0.79 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.4545, allocations: 103.6 kB / 0.7901 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.4547, allocations: 226.7 kB / 0.7903 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009974/0.4557, allocations: 0.7697 MB / 0.7911 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4557, allocations: 0 / 0.7911 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4557, allocations: 4 kB / 0.7911 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.4558, allocations: 0 / 0.7911 GB, free: 10.52 MB / 0.5606 GB 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.001207/0.457, allocations: 0.8407 MB / 0.7919 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.457, allocations: 8.031 kB / 0.7919 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.4571, allocations: 52.38 kB / 0.792 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006054/0.4577, allocations: 429.4 kB / 0.7924 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.4578, allocations: 20.44 kB / 0.7924 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.4578, allocations: 28 kB / 0.7924 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.4582, allocations: 219.2 kB / 0.7926 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.4583, allocations: 0 / 0.7926 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.4583, allocations: 4 kB / 0.7926 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.4583, allocations: 7.938 kB / 0.7926 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003446/0.4586, allocations: 173.6 kB / 0.7928 GB, free: 8.668 MB / 0.5606 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.001462/0.4601, allocations: 0.9379 MB / 0.7937 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.4604, allocations: 138.6 kB / 0.7939 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.4606, allocations: 72.81 kB / 0.7939 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/0.4608, allocations: 336.4 kB / 0.7943 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.4609, allocations: 30.56 kB / 0.7943 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/0.4609, allocations: 0 / 0.7943 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.0005765/0.4614, allocations: 237.1 kB / 0.7945 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.4615, allocations: 55.41 kB / 0.7946 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/0.462, allocations: 481.9 kB / 0.795 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.462, allocations: 29.7 kB / 0.795 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.4622, allocations: 228.6 kB / 0.7953 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.4622, allocations: 47.36 kB / 0.7953 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.176e-05/0.4623, allocations: 61.59 kB / 0.7954 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.4624, allocations: 358.7 kB / 0.7957 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.4626, allocations: 72.81 kB / 0.7958 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.4629, allocations: 159.2 kB / 0.7959 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.4632, allocations: 153 kB / 0.7961 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.4632, allocations: 4 kB / 0.7961 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000482/0.4637, allocations: 257.1 kB / 0.7963 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.4637, allocations: 11.88 kB / 0.7963 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.4637, allocations: 0 / 0.7963 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.4638, allocations: 8 kB / 0.7963 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.464, allocations: 43.97 kB / 0.7964 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.464, allocations: 0 / 0.7964 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.4643, allocations: 39.66 kB / 0.7964 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.4644, allocations: 15.98 kB / 0.7964 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002545/0.4646, allocations: 191.9 kB / 0.7966 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002322/0.4649, allocations: 161.3 kB / 0.7968 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003136/0.4652, allocations: 180.2 kB / 0.797 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.867e-06/0.4652, allocations: 0 / 0.797 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004679/0.4657, allocations: 256.1 kB / 0.7972 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/0.4657, allocations: 4 kB / 0.7972 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.4657, allocations: 3.984 kB / 0.7972 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.06e-06/0.4657, allocations: 4 kB / 0.7972 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.4659, allocations: 47.97 kB / 0.7973 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.4659, allocations: 8 kB / 0.7973 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.4663, allocations: 31.88 kB / 0.7973 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.4663, allocations: 8 kB / 0.7973 GB, free: 3.75 MB / 0.5606 GB 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 0.0001156/0.4664, allocations: 196.1 kB / 0.7975 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-05/0.4665, allocations: 43.44 kB / 0.7975 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000514/0.467, allocations: 252.3 kB / 0.7978 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.467, allocations: 4 kB / 0.7978 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.467, allocations: 0 / 0.7978 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.467, allocations: 3.984 kB / 0.7978 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009123/0.468, allocations: 0.7045 MB / 0.7985 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.468, allocations: 4 kB / 0.7985 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.4681, allocations: 31.92 kB / 0.7985 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.4681, allocations: 4 kB / 0.7985 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.4681, allocations: 0 / 0.7985 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.4681, allocations: 7.938 kB / 0.7985 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4681, allocations: 96 / 0.7985 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.4686, allocations: 342.4 kB / 0.7988 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.4687, allocations: 136.5 kB / 0.799 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.4688, allocations: 15.94 kB / 0.799 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.469, allocations: 23.91 kB / 0.799 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.4691, allocations: 15.92 kB / 0.799 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.4691, allocations: 8 kB / 0.799 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003359/0.4694, allocations: 334.9 kB / 0.7993 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4694, allocations: 0 / 0.7993 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006323/0.4701, allocations: 195.7 kB / 0.7995 GB, free: 1.34 MB / 0.5606 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.001067/0.4711, allocations: 468.9 kB / 0.8 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006169/0.4718, allocations: 279.7 kB / 0.8002 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4718, allocations: 0 / 0.8002 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.472, allocations: 87.83 kB / 0.8003 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009262/0.4729, allocations: 202.6 kB / 0.8005 GB, free: 468 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.4741, allocations: 0.7052 MB / 0.8012 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.4744, allocations: 0.827 MB / 0.802 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002497/0.4747, allocations: 87.44 kB / 0.8021 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.4748, allocations: 35.42 kB / 0.8021 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/0.4748, allocations: 0 / 0.8021 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of Templates: time 0.01485/0.4897, allocations: 8.655 MB / 0.8106 GB, free: 6.223 MB / 0.5762 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)