Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001154/0.001154, allocations: 105.5 kB / 16.41 MB, free: 6.469 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.00115/0.00115, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7728/0.7728, allocations: 122.9 MB / 414.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 60.92 kB / 0.5685 GB, free: 28.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1552, allocations: 77.93 MB / 0.6446 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01843/0.1736, allocations: 17.44 MB / 0.6616 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006894/0.1805, allocations: 4.925 MB / 0.6664 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005218/0.1811, allocations: 19.94 kB / 0.6665 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008993/0.182, allocations: 246.4 kB / 0.6667 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.1837, allocations: 0.6102 MB / 0.6673 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.1857, allocations: 0.7322 MB / 0.668 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001438/0.1872, allocations: 0.9779 MB / 0.669 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005604/0.1877, allocations: 328.9 kB / 0.6693 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007755/0.1885, allocations: 418.3 kB / 0.6697 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.189, allocations: 314.6 kB / 0.67 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.554e-05/0.189, allocations: 32 kB / 0.67 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.1906, allocations: 0.7292 MB / 0.6707 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.1907, allocations: 131.5 kB / 0.6708 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.191, allocations: 242.7 kB / 0.6711 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.1922, allocations: 0.8834 MB / 0.6719 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1922, allocations: 0 / 0.6719 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1922, allocations: 0 / 0.6719 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.1922, allocations: 0 / 0.6719 GB, free: 12.91 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.001288/0.1935, allocations: 0.9098 MB / 0.6728 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1936, allocations: 8.625 kB / 0.6728 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.1938, allocations: 60.56 kB / 0.6729 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008192/0.1946, allocations: 462.2 kB / 0.6733 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.1946, allocations: 28.48 kB / 0.6734 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.1947, allocations: 28 kB / 0.6734 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.1952, allocations: 286.2 kB / 0.6737 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1952, allocations: 4 kB / 0.6737 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.1953, allocations: 12 kB / 0.6737 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.1953, allocations: 4 kB / 0.6737 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.1957, allocations: 190.1 kB / 0.6739 GB, free: 10.84 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.0018/0.1975, allocations: 1.48 MB / 0.6753 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.1978, allocations: 158.8 kB / 0.6755 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.198, allocations: 84.81 kB / 0.6755 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/0.1995, allocations: 1.264 MB / 0.6768 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1995, allocations: 46.44 kB / 0.6768 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.1995, allocations: 0 / 0.6768 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0006223/0.2002, allocations: 255.9 kB / 0.6771 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.2002, allocations: 59.34 kB / 0.6771 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/0.2008, allocations: 0.5809 MB / 0.6777 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.2009, allocations: 29.7 kB / 0.6777 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.2011, allocations: 280.4 kB / 0.678 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.2011, allocations: 47.59 kB / 0.678 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.2012, allocations: 77.92 kB / 0.6781 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.2013, allocations: 358.8 kB / 0.6784 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.2015, allocations: 81.92 kB / 0.6785 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.2018, allocations: 206.7 kB / 0.6787 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.2022, allocations: 233.8 kB / 0.6789 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2022, allocations: 0 / 0.6789 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005674/0.2028, allocations: 323.3 kB / 0.6792 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2028, allocations: 13.44 kB / 0.6793 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2028, allocations: 4 kB / 0.6793 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2028, allocations: 4 kB / 0.6793 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.2031, allocations: 63.91 kB / 0.6793 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2031, allocations: 7.938 kB / 0.6793 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.2034, allocations: 48 kB / 0.6794 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/0.2035, allocations: 16 kB / 0.6794 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002951/0.2038, allocations: 212.6 kB / 0.6796 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002868/0.2041, allocations: 210.1 kB / 0.6798 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000381/0.2045, allocations: 230.7 kB / 0.68 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.2045, allocations: 0 / 0.68 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005528/0.205, allocations: 309 kB / 0.6803 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.205, allocations: 4 kB / 0.6803 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2051, allocations: 11.94 kB / 0.6803 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.059e-06/0.2051, allocations: 4 kB / 0.6803 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.2053, allocations: 67.89 kB / 0.6804 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2053, allocations: 7.938 kB / 0.6804 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.2056, allocations: 36.12 kB / 0.6804 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.2057, allocations: 15.98 kB / 0.6805 GB, free: 3.52 MB / 0.5137 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.0001133/0.2058, allocations: 201 kB / 0.6806 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.2059, allocations: 55.61 kB / 0.6807 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005583/0.2065, allocations: 263.8 kB / 0.681 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.2065, allocations: 4 kB / 0.681 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2065, allocations: 4.031 kB / 0.681 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2066, allocations: 7.875 kB / 0.681 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.2076, allocations: 0.7317 MB / 0.6817 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2076, allocations: 4.125 kB / 0.6817 GB, free: 2.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.2077, allocations: 31.97 kB / 0.6817 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.2077, allocations: 4 kB / 0.6817 GB, free: 2.145 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.2078, allocations: 4 kB / 0.6817 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2078, allocations: 4 kB / 0.6817 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.2078, allocations: 3.938 kB / 0.6817 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000479/0.2083, allocations: 354.7 kB / 0.6821 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001421/0.2084, allocations: 152.7 kB / 0.6822 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.2085, allocations: 4 kB / 0.6822 GB, free: 1.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.2087, allocations: 11.98 kB / 0.6822 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.2087, allocations: 19.92 kB / 0.6822 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.2087, allocations: 11.94 kB / 0.6823 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004487/0.2092, allocations: 422.8 kB / 0.6827 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2092, allocations: 0 / 0.6827 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007139/0.2099, allocations: 235.5 kB / 0.6829 GB, free: 0.9023 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 (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.001033/0.211, allocations: 494.9 kB / 0.6834 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007309/0.2117, allocations: 330 kB / 0.6837 GB, free: 236 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2117, allocations: 0 / 0.6837 GB, free: 236 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001971/0.2119, allocations: 87.02 kB / 0.6838 GB, free: 152 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.2132, allocations: 247.4 kB / 0.684 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.2144, allocations: 0.816 MB / 0.6848 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.2148, allocations: 0.8467 MB / 0.6856 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002921/0.2151, allocations: 100.6 kB / 0.6857 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.738e-05/0.2152, allocations: 39.44 kB / 0.6857 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.2152, allocations: 0 / 0.6857 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of Templates: time 0.01594/0.2312, allocations: 10.23 MB / 0.6957 GB, free: 3.941 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)