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.001839/0.001839, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001352/0.001352, allocations: 194.3 kB / 16.14 MB, free: 6.684 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002663/0.002663, allocations: 270.6 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.088/1.088, allocations: 178.6 MB / 0.5068 GB, free: 4.801 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 99.92 kB / 0.6057 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1664, allocations: 89.15 MB / 0.6928 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01897/0.1854, allocations: 15.47 MB / 0.7079 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007127/0.1925, allocations: 4.366 MB / 0.7122 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007469/0.1933, allocations: 11.94 kB / 0.7122 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.1944, allocations: 230.7 kB / 0.7124 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001771/0.1963, allocations: 0.5482 MB / 0.7129 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.1981, allocations: 0.6379 MB / 0.7136 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00162/0.1997, allocations: 1.306 MB / 0.7148 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004411/0.2002, allocations: 289.7 kB / 0.7151 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006779/0.2009, allocations: 386.3 kB / 0.7155 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004403/0.2013, allocations: 318.5 kB / 0.7158 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.755e-05/0.2014, allocations: 27.94 kB / 0.7158 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001185/0.2026, allocations: 0.6082 MB / 0.7164 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.2027, allocations: 79.62 kB / 0.7165 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.203, allocations: 218.7 kB / 0.7167 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.2041, allocations: 0.74 MB / 0.7174 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2041, allocations: 0 / 0.7174 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.82e-07/0.2041, allocations: 0 / 0.7174 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.2041, allocations: 0 / 0.7174 GB, free: 11.59 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001376/0.2055, allocations: 0.8407 MB / 0.7182 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2056, allocations: 12.03 kB / 0.7182 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.2057, allocations: 48.38 kB / 0.7183 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.2063, allocations: 421.4 kB / 0.7187 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.2063, allocations: 20.44 kB / 0.7187 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.2064, allocations: 24 kB / 0.7187 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.2069, allocations: 211.2 kB / 0.7189 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2069, allocations: 4 kB / 0.7189 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.2069, allocations: 4 kB / 0.7189 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.2069, allocations: 8 kB / 0.7189 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.2074, allocations: 169.6 kB / 0.7191 GB, free: 9.754 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.001707/0.2091, allocations: 0.9456 MB / 0.72 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.2094, allocations: 130.6 kB / 0.7202 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.2096, allocations: 72.81 kB / 0.7202 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003314/0.2099, allocations: 344.5 kB / 0.7206 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.21, allocations: 34.5 kB / 0.7206 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 2.014e-06/0.21, allocations: 0 / 0.7206 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0006651/0.2107, allocations: 233.1 kB / 0.7208 GB, free: 7.836 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.2107, allocations: 55.41 kB / 0.7209 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005899/0.2113, allocations: 481.9 kB / 0.7213 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.2113, allocations: 29.7 kB / 0.7214 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.2116, allocations: 232.6 kB / 0.7216 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.2116, allocations: 43.3 kB / 0.7216 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.2117, allocations: 61.59 kB / 0.7217 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.2119, allocations: 358.7 kB / 0.722 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002035/0.2121, allocations: 76.61 kB / 0.7221 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.2124, allocations: 155.6 kB / 0.7222 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.2128, allocations: 160.3 kB / 0.7224 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2128, allocations: 4 kB / 0.7224 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005497/0.2134, allocations: 255.6 kB / 0.7226 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2134, allocations: 4 kB / 0.7226 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2134, allocations: 0 / 0.7226 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2134, allocations: 4 kB / 0.7226 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002462/0.2137, allocations: 47.97 kB / 0.7227 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.2137, allocations: 0 / 0.7227 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.214, allocations: 47.7 kB / 0.7227 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.2141, allocations: 16.03 kB / 0.7228 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003058/0.2144, allocations: 188.1 kB / 0.7229 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002713/0.2147, allocations: 158.8 kB / 0.7231 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003709/0.2151, allocations: 175.5 kB / 0.7233 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.2151, allocations: 0 / 0.7233 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.000532/0.2156, allocations: 253 kB / 0.7235 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/0.2156, allocations: 4 kB / 0.7235 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-06/0.2156, allocations: 0 / 0.7235 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.869e-06/0.2156, allocations: 4 kB / 0.7235 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.2159, allocations: 51.91 kB / 0.7235 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.2159, allocations: 0 / 0.7235 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.2163, allocations: 47.86 kB / 0.7236 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.2163, allocations: 8 kB / 0.7236 GB, free: 4.828 MB / 0.5137 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.0001329/0.2164, allocations: 192.9 kB / 0.7238 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.968e-05/0.2165, allocations: 43.62 kB / 0.7238 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006037/0.2171, allocations: 257 kB / 0.7241 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.2171, allocations: 4 kB / 0.7241 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2171, allocations: 0 / 0.7241 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.2172, allocations: 0 / 0.7241 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.2182, allocations: 0.7044 MB / 0.7248 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2183, allocations: 4 kB / 0.7248 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.2184, allocations: 35.91 kB / 0.7248 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2184, allocations: 4 kB / 0.7248 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2184, allocations: 0 / 0.7248 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.2184, allocations: 7.938 kB / 0.7248 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2184, allocations: 0 / 0.7248 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.219, allocations: 346.2 kB / 0.7251 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.2191, allocations: 132.6 kB / 0.7253 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.664e-05/0.2192, allocations: 8 kB / 0.7253 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.2195, allocations: 27.91 kB / 0.7253 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.2195, allocations: 11.98 kB / 0.7253 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.2195, allocations: 8 kB / 0.7253 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000393/0.2199, allocations: 334.9 kB / 0.7256 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2199, allocations: 0 / 0.7256 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006799/0.2206, allocations: 203.5 kB / 0.7258 GB, free: 2.41 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.001588/0.2222, allocations: 496.4 kB / 0.7263 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007039/0.2229, allocations: 270.5 kB / 0.7266 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.223, allocations: 0 / 0.7266 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.2232, allocations: 87.83 kB / 0.7267 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.2245, allocations: 215.1 kB / 0.7269 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.2258, allocations: 0.8396 MB / 0.7277 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.2263, allocations: 0.8272 MB / 0.7285 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003246/0.2266, allocations: 99.69 kB / 0.7286 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-05/0.2267, allocations: 35.44 kB / 0.7286 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.2267, allocations: 0 / 0.7286 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of Templates: time 0.01626/0.243, allocations: 8.344 MB / 0.7368 GB, free: 7.438 MB / 0.5294 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)