Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001295/0.001295, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001273/0.001273, allocations: 191.7 kB / 16.25 MB, free: 6.621 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.506/1.506, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002535/0.002535, allocations: 278.5 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.055/1.055, allocations: 178.6 MB / 0.507 GB, free: 4.668 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002593/0.002593, allocations: 103.1 kB / 0.6059 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1518, allocations: 89.15 MB / 0.693 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01966/0.1715, allocations: 17.35 MB / 0.7099 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007154/0.1787, allocations: 4.886 MB / 0.7147 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005446/0.1793, allocations: 15.88 kB / 0.7147 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008043/0.1801, allocations: 218.9 kB / 0.7149 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.1815, allocations: 0.5639 MB / 0.7155 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.1833, allocations: 0.6556 MB / 0.7161 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001181/0.1845, allocations: 0.9702 MB / 0.7171 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004694/0.185, allocations: 333.2 kB / 0.7174 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006388/0.1856, allocations: 418.3 kB / 0.7178 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003985/0.186, allocations: 322.6 kB / 0.7181 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.335e-05/0.1861, allocations: 28 kB / 0.7181 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.1873, allocations: 0.733 MB / 0.7188 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.1874, allocations: 135.5 kB / 0.719 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.1877, allocations: 246.6 kB / 0.7192 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001123/0.1888, allocations: 0.8685 MB / 0.72 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1888, allocations: 0 / 0.72 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1888, allocations: 4 kB / 0.72 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.1888, allocations: 0 / 0.72 GB, free: 8.863 MB / 0.5137 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.001287/0.1901, allocations: 0.8719 MB / 0.7209 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1902, allocations: 8.031 kB / 0.7209 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001615/0.1903, allocations: 68.17 kB / 0.721 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006136/0.1909, allocations: 449.6 kB / 0.7214 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.191, allocations: 28.5 kB / 0.7214 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.191, allocations: 28 kB / 0.7215 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/0.1916, allocations: 286.2 kB / 0.7217 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1916, allocations: 3.938 kB / 0.7217 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.1916, allocations: 4 kB / 0.7217 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1917, allocations: 8 kB / 0.7217 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.1921, allocations: 198 kB / 0.7219 GB, free: 6.828 MB / 0.5137 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.00194/0.1941, allocations: 1.476 MB / 0.7234 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003328/0.1944, allocations: 158.7 kB / 0.7235 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.1946, allocations: 88.81 kB / 0.7236 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001718/0.1963, allocations: 1.268 MB / 0.7248 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.1964, allocations: 42.5 kB / 0.7249 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.1964, allocations: 0 / 0.7249 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006288/0.197, allocations: 245.1 kB / 0.7251 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.1971, allocations: 59.34 kB / 0.7252 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007017/0.1978, allocations: 0.5925 MB / 0.7258 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.1978, allocations: 25.7 kB / 0.7258 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.198, allocations: 276.1 kB / 0.726 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.1981, allocations: 55.19 kB / 0.7261 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.1982, allocations: 73.88 kB / 0.7262 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1984, allocations: 354.8 kB / 0.7265 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.1986, allocations: 81.92 kB / 0.7266 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.1989, allocations: 208.3 kB / 0.7268 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004296/0.1993, allocations: 239.8 kB / 0.727 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.1994, allocations: 4 kB / 0.727 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006186/0.2, allocations: 316.7 kB / 0.7273 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2, allocations: 7.938 kB / 0.7273 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.2, allocations: 7.938 kB / 0.7273 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2, allocations: 4.25 kB / 0.7273 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.2003, allocations: 63.91 kB / 0.7274 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2003, allocations: 4 kB / 0.7274 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.2007, allocations: 43.66 kB / 0.7274 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.2007, allocations: 16 kB / 0.7275 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003258/0.201, allocations: 216.6 kB / 0.7277 GB, free: 496 kB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003216/0.2014, allocations: 213.5 kB / 0.7279 GB, free: 232 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004149/0.2018, allocations: 228.7 kB / 0.7281 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.614e-06/0.2018, allocations: 0 / 0.7281 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005938/0.2024, allocations: 304.7 kB / 0.7284 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.2024, allocations: 8.25 kB / 0.7284 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2025, allocations: 11.94 kB / 0.7284 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.2025, allocations: 4 kB / 0.7284 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.2027, allocations: 59.91 kB / 0.7285 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.626e-06/0.2027, allocations: 4 kB / 0.7285 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.2031, allocations: 39.81 kB / 0.7285 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.2031, allocations: 16 kB / 0.7285 GB, free: 15.53 MB / 0.5294 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.0001388/0.2033, allocations: 196.9 kB / 0.7287 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/0.2034, allocations: 59.27 kB / 0.7288 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005853/0.2039, allocations: 261.5 kB / 0.729 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.204, allocations: 3.984 kB / 0.729 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.204, allocations: 4 kB / 0.729 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.204, allocations: 4.188 kB / 0.729 GB, free: 15 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/0.2051, allocations: 0.7239 MB / 0.7297 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2051, allocations: 3.938 kB / 0.7297 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.2052, allocations: 40.05 kB / 0.7298 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2052, allocations: 4 kB / 0.7298 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.2053, allocations: 0 / 0.7298 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.2053, allocations: 11.98 kB / 0.7298 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2053, allocations: 192 / 0.7298 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005139/0.2058, allocations: 356.4 kB / 0.7301 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.206, allocations: 148.4 kB / 0.7303 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.206, allocations: 8 kB / 0.7303 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.2063, allocations: 11.98 kB / 0.7303 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.2063, allocations: 27.86 kB / 0.7303 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.2063, allocations: 4 kB / 0.7303 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004921/0.2068, allocations: 422.8 kB / 0.7307 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2068, allocations: 0 / 0.7307 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007171/0.2076, allocations: 227.7 kB / 0.7309 GB, free: 12.92 MB / 0.5294 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.001584/0.2092, allocations: 499.1 kB / 0.7314 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007216/0.2099, allocations: 331.7 kB / 0.7317 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2099, allocations: 0 / 0.7317 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.2101, allocations: 91.2 kB / 0.7318 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.2113, allocations: 251.8 kB / 0.7321 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.2127, allocations: 0.9705 MB / 0.733 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.2133, allocations: 0.8432 MB / 0.7338 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003346/0.2136, allocations: 100.2 kB / 0.7339 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.524e-05/0.2137, allocations: 39.44 kB / 0.734 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.2137, allocations: 4 kB / 0.734 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of Templates: time 0.01795/0.2317, allocations: 10.1 MB / 0.7438 GB, free: 15.95 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)