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.001257/0.001257, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001332/0.001332, allocations: 192.2 kB / 16.25 MB, free: 6.625 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.311/1.311, allocations: 222.9 MB / 239.9 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 291 kB / 290.4 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9554/0.9554, allocations: 169.2 MB / 0.4978 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 83.92 kB / 0.5947 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1678, allocations: 86.99 MB / 0.6796 GB, free: 1.117 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01489/0.1828, allocations: 15.44 MB / 0.6947 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006015/0.1888, allocations: 4.303 MB / 0.6989 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004588/0.1893, allocations: 19.88 kB / 0.6989 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007834/0.1901, allocations: 222.9 kB / 0.6992 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.1915, allocations: 0.5703 MB / 0.6997 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.1932, allocations: 0.642 MB / 0.7003 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001165/0.1943, allocations: 1.029 MB / 0.7013 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004373/0.1948, allocations: 339.7 kB / 0.7017 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006568/0.1954, allocations: 418.3 kB / 0.7021 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.1958, allocations: 334.5 kB / 0.7024 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.1959, allocations: 28 kB / 0.7024 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009646/0.1969, allocations: 0.6355 MB / 0.703 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.197, allocations: 111.5 kB / 0.7031 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.1972, allocations: 222.8 kB / 0.7033 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008819/0.1981, allocations: 0.7594 MB / 0.7041 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1981, allocations: 0 / 0.7041 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1981, allocations: 0 / 0.7041 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.1981, allocations: 0 / 0.7041 GB, free: 8.008 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001147/0.1992, allocations: 0.833 MB / 0.7049 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1993, allocations: 8.031 kB / 0.7049 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.1994, allocations: 56.28 kB / 0.705 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.1999, allocations: 413.4 kB / 0.7054 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.2, allocations: 24.38 kB / 0.7054 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.2, allocations: 28 kB / 0.7054 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004088/0.2004, allocations: 211.2 kB / 0.7056 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2004, allocations: 0 / 0.7056 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.2005, allocations: 12 kB / 0.7056 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2005, allocations: 4 kB / 0.7056 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.2008, allocations: 165.6 kB / 0.7058 GB, free: 6.184 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.001447/0.2023, allocations: 0.9457 MB / 0.7067 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.2026, allocations: 138.5 kB / 0.7068 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.2028, allocations: 76.75 kB / 0.7069 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.203, allocations: 332.4 kB / 0.7072 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.2031, allocations: 38.56 kB / 0.7073 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.2031, allocations: 0 / 0.7073 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006109/0.2037, allocations: 237 kB / 0.7075 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.2037, allocations: 55.34 kB / 0.7075 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004762/0.2042, allocations: 478 kB / 0.708 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.2042, allocations: 29.7 kB / 0.708 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.2044, allocations: 236.6 kB / 0.7083 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.2044, allocations: 47.3 kB / 0.7083 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.315e-05/0.2045, allocations: 61.69 kB / 0.7084 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.2047, allocations: 350.7 kB / 0.7087 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.2048, allocations: 72.81 kB / 0.7088 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.2051, allocations: 153.8 kB / 0.7089 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.2054, allocations: 172.5 kB / 0.7091 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2055, allocations: 0 / 0.7091 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004868/0.2059, allocations: 253 kB / 0.7093 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.206, allocations: 8 kB / 0.7093 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.206, allocations: 4 kB / 0.7093 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.206, allocations: 0 / 0.7093 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.2062, allocations: 48 kB / 0.7094 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2062, allocations: 7.938 kB / 0.7094 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.2066, allocations: 39.81 kB / 0.7094 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.2066, allocations: 12 kB / 0.7094 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002559/0.2069, allocations: 188.7 kB / 0.7096 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002295/0.2071, allocations: 157.4 kB / 0.7098 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003345/0.2075, allocations: 180.2 kB / 0.7099 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-06/0.2075, allocations: 3.938 kB / 0.7099 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004743/0.208, allocations: 246.7 kB / 0.7102 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.208, allocations: 11.98 kB / 0.7102 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-06/0.208, allocations: 0 / 0.7102 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.797e-06/0.208, allocations: 0 / 0.7102 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.2082, allocations: 55.84 kB / 0.7102 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.2082, allocations: 4 kB / 0.7102 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/0.2086, allocations: 39.88 kB / 0.7103 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.2086, allocations: 8 kB / 0.7103 GB, free: 1.25 MB / 0.4981 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.0001029/0.2087, allocations: 200.8 kB / 0.7105 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.229e-05/0.2088, allocations: 47.42 kB / 0.7105 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005225/0.2093, allocations: 247.5 kB / 0.7108 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2093, allocations: 0 / 0.7108 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2093, allocations: 4 kB / 0.7108 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2094, allocations: 3.984 kB / 0.7108 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009353/0.2103, allocations: 0.7122 MB / 0.7115 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.2103, allocations: 0 / 0.7115 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.2104, allocations: 27.98 kB / 0.7115 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/0.2104, allocations: 0 / 0.7115 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2105, allocations: 4 kB / 0.7115 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2105, allocations: 3.938 kB / 0.7115 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2105, allocations: 4 kB / 0.7115 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/0.2109, allocations: 342.4 kB / 0.7118 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.2111, allocations: 136.5 kB / 0.712 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.524e-05/0.2111, allocations: 3.984 kB / 0.712 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.2114, allocations: 35.95 kB / 0.712 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.2115, allocations: 15.92 kB / 0.712 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.37e-05/0.2115, allocations: 4 kB / 0.712 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003339/0.2118, allocations: 338.9 kB / 0.7123 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.593e-06/0.2118, allocations: 3.938 kB / 0.7123 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006217/0.2125, allocations: 199.6 kB / 0.7125 GB, free: 14.82 MB / 0.5137 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.001083/0.2136, allocations: 478.6 kB / 0.713 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006446/0.2142, allocations: 275.9 kB / 0.7133 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2142, allocations: 0 / 0.7133 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001846/0.2144, allocations: 83.83 kB / 0.7133 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.2154, allocations: 205.4 kB / 0.7135 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.2166, allocations: 0.8457 MB / 0.7144 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.217, allocations: 0.823 MB / 0.7152 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003077/0.2173, allocations: 91.14 kB / 0.7152 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.376e-05/0.2174, allocations: 39.42 kB / 0.7153 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.2174, allocations: 4 kB / 0.7153 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of Templates: time 0.01439/0.2318, allocations: 8.394 MB / 0.7235 GB, free: 3.824 MB / 0.5137 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)