Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.482/1.482, allocations: 288.4 MB / 303.6 MB, free: 8.035 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009436/0.0009434, allocations: 191.8 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.28/1.28, allocations: 205.4 MB / 0.631 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007677/0.0007677, allocations: 98.86 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 12.06 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1747, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01003/0.1847, allocations: 14.37 MB / 0.9942 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007416/0.1922, allocations: 6.697 MB / 1.001 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004104/0.1926, allocations: 19.81 kB / 1.001 GB, free: 6.105 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000747/0.1934, allocations: 194.9 kB / 1.001 GB, free: 5.914 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.1944, allocations: 0.5287 MB / 1.001 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.1957, allocations: 0.5826 MB / 1.002 GB, free: 4.809 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0008645/0.1965, allocations: 1.126 MB / 1.003 GB, free: 3.676 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003359/0.1969, allocations: 283.9 kB / 1.003 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004711/0.1974, allocations: 370.3 kB / 1.004 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002941/0.1977, allocations: 298.7 kB / 1.004 GB, free: 2.742 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.524e-05/0.1977, allocations: 19.94 kB / 1.004 GB, free: 2.723 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007679/0.1985, allocations: 0.5614 MB / 1.005 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.654e-05/0.1986, allocations: 79.66 kB / 1.005 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.1988, allocations: 224.6 kB / 1.005 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.1992, allocations: 0.5222 MB / 1.005 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1992, allocations: 0 / 1.005 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1993, allocations: 0 / 1.005 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.1993, allocations: 0 / 1.005 GB, free: 1.332 MB / 0.6198 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.0008902/0.2002, allocations: 0.7475 MB / 1.006 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.2002, allocations: 12.03 kB / 1.006 GB, free: 0.5234 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.2003, allocations: 50.73 kB / 1.006 GB, free: 476 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.893e-05/0.2003, allocations: 64.27 kB / 1.006 GB, free: 412 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004446/0.2008, allocations: 412.7 kB / 1.007 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/0.2008, allocations: 20.44 kB / 1.007 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.2009, allocations: 32 kB / 1.007 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.2013, allocations: 211.2 kB / 1.007 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.2013, allocations: 0 / 1.007 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.2014, allocations: 11.98 kB / 1.007 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.2014, allocations: 4 kB / 1.007 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.2018, allocations: 173.6 kB / 1.007 GB, free: 15.51 MB / 0.6355 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.00156/0.2034, allocations: 0.9574 MB / 1.008 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002853/0.2036, allocations: 142.3 kB / 1.008 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.2038, allocations: 76.81 kB / 1.008 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/0.2041, allocations: 340.4 kB / 1.009 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.2041, allocations: 30.56 kB / 1.009 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.2041, allocations: 0 / 1.009 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14): time 0.0006189/0.2048, allocations: 257 kB / 1.009 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.2048, allocations: 51.41 kB / 1.009 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004982/0.2053, allocations: 466 kB / 1.009 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.2054, allocations: 33.7 kB / 1.009 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.2055, allocations: 224.6 kB / 1.01 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.128e-05/0.2056, allocations: 55.36 kB / 1.01 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.2056, allocations: 4 kB / 1.01 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2057, allocations: 354.7 kB / 1.01 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.2059, allocations: 79.81 kB / 1.01 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.2062, allocations: 151.6 kB / 1.01 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.2065, allocations: 175.8 kB / 1.01 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2065, allocations: 0 / 1.01 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004736/0.207, allocations: 258.6 kB / 1.011 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 5.92e-05/0.2071, allocations: 114.7 kB / 1.011 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2071, allocations: 0 / 1.011 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2071, allocations: 7.938 kB / 1.011 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.2073, allocations: 47.91 kB / 1.011 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2073, allocations: 0 / 1.011 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/0.2077, allocations: 47.72 kB / 1.011 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.2077, allocations: 11.98 kB / 1.011 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-06/0.2077, allocations: 4 kB / 1.011 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003983/0.2081, allocations: 185.1 kB / 1.011 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-06/0.2081, allocations: 0 / 1.011 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-06/0.2081, allocations: 4 kB / 1.011 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.2083, allocations: 51.91 kB / 1.011 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.2084, allocations: 4 kB / 1.011 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.2087, allocations: 47.66 kB / 1.011 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.2087, allocations: 8 kB / 1.011 GB, free: 11.11 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.2089, allocations: 245 kB / 1.011 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.2089, allocations: 39.53 kB / 1.011 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005502/0.2095, allocations: 261.1 kB / 1.012 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.2095, allocations: 0 / 1.012 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2095, allocations: 0 / 1.012 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.2095, allocations: 0 / 1.012 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009231/0.2104, allocations: 0.7199 MB / 1.012 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.2105, allocations: 8 kB / 1.012 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.2106, allocations: 32.05 kB / 1.012 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2106, allocations: 8 kB / 1.012 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.2106, allocations: 3.938 kB / 1.012 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2106, allocations: 4 kB / 1.012 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2106, allocations: 0 / 1.012 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.2111, allocations: 351.5 kB / 1.013 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.2112, allocations: 144.4 kB / 1.013 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.2113, allocations: 11.94 kB / 1.013 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.2115, allocations: 23.97 kB / 1.013 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.2116, allocations: 15.98 kB / 1.013 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.2116, allocations: 4 kB / 1.013 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003136/0.2119, allocations: 326.9 kB / 1.013 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2119, allocations: 0 / 1.013 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005857/0.2125, allocations: 199.7 kB / 1.013 GB, free: 8.613 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001612/0.2141, allocations: 1.272 MB / 1.015 GB, free: 7.441 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005969/0.2147, allocations: 275.7 kB / 1.015 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2147, allocations: 4 kB / 1.015 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.2149, allocations: 83.89 kB / 1.015 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.2162, allocations: 217.9 kB / 1.015 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/0.2195, allocations: 2.249 MB / 1.017 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.2198, allocations: 0.8308 MB / 1.018 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002766/0.2201, allocations: 91.48 kB / 1.018 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.2203, allocations: 143.4 kB / 1.018 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.2203, allocations: 0 / 1.018 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7686/0.9889, allocations: 12.46 MB / 1.031 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003842/0.9893, allocations: 250 kB / 1.031 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/3.215, allocations: 4 kB / 1.031 GB, free: 6.941 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)