Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001199/0.001199, allocations: 115.2 kB / 17.08 MB, free: 5.973 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.001276/0.001276, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.339/1.339, allocations: 222.9 MB / 241.7 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.7306/0.7306, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 62.55 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1529, allocations: 76.19 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01646/0.1694, allocations: 15.52 MB / 0.6479 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00652/0.176, allocations: 4.338 MB / 0.6521 GB, free: 472 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006635/0.1767, allocations: 15.88 kB / 0.6521 GB, free: 456 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009895/0.1777, allocations: 266.3 kB / 0.6524 GB, free: 188 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.1795, allocations: 0.6002 MB / 0.653 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.1814, allocations: 0.7034 MB / 0.6537 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001374/0.1828, allocations: 1.033 MB / 0.6547 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004864/0.1833, allocations: 347.7 kB / 0.655 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007031/0.184, allocations: 422.3 kB / 0.6554 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000411/0.1844, allocations: 326.5 kB / 0.6557 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.282e-05/0.1845, allocations: 28 kB / 0.6557 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.1856, allocations: 0.6239 MB / 0.6564 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.1858, allocations: 107.6 kB / 0.6565 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.186, allocations: 226.7 kB / 0.6567 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.1871, allocations: 0.7633 MB / 0.6574 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1871, allocations: 0 / 0.6574 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1871, allocations: 4 kB / 0.6574 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.1871, allocations: 0 / 0.6574 GB, free: 11.02 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.001209/0.1883, allocations: 0.8214 MB / 0.6582 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1884, allocations: 8.031 kB / 0.6582 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.1885, allocations: 64.22 kB / 0.6583 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006642/0.1892, allocations: 429.4 kB / 0.6587 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.1892, allocations: 24.42 kB / 0.6587 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.298e-05/0.1893, allocations: 28 kB / 0.6588 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004266/0.1897, allocations: 211.2 kB / 0.659 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1897, allocations: 0 / 0.659 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.1898, allocations: 8 kB / 0.659 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.1898, allocations: 4 kB / 0.659 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.1902, allocations: 165.6 kB / 0.6591 GB, free: 9.18 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.001553/0.1917, allocations: 0.9456 MB / 0.6601 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/0.192, allocations: 130.6 kB / 0.6602 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.1922, allocations: 68.81 kB / 0.6602 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.1925, allocations: 344.3 kB / 0.6606 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1925, allocations: 34.56 kB / 0.6606 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 3.006e-06/0.1925, allocations: 7.984 kB / 0.6606 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006381/0.1932, allocations: 242.9 kB / 0.6608 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.1932, allocations: 51.41 kB / 0.6609 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/0.1937, allocations: 474 kB / 0.6613 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.1938, allocations: 33.7 kB / 0.6614 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.1939, allocations: 228.6 kB / 0.6616 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.194, allocations: 47.3 kB / 0.6616 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.754e-05/0.1941, allocations: 69.59 kB / 0.6617 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1942, allocations: 354.7 kB / 0.662 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.1944, allocations: 72.67 kB / 0.6621 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.1947, allocations: 157.2 kB / 0.6623 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.195, allocations: 160.2 kB / 0.6624 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.195, allocations: 0 / 0.6624 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004857/0.1955, allocations: 250.5 kB / 0.6627 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1955, allocations: 11.94 kB / 0.6627 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1956, allocations: 3.984 kB / 0.6627 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.1956, allocations: 8 kB / 0.6627 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.1958, allocations: 47.91 kB / 0.6627 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.1958, allocations: 7.984 kB / 0.6627 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.1961, allocations: 31.73 kB / 0.6628 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/0.1962, allocations: 11.98 kB / 0.6628 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000276/0.1965, allocations: 192.1 kB / 0.663 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002347/0.1967, allocations: 164 kB / 0.6631 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003181/0.197, allocations: 176.1 kB / 0.6633 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-06/0.197, allocations: 0 / 0.6633 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004691/0.1975, allocations: 250.9 kB / 0.6635 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.1975, allocations: 8 kB / 0.6635 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.1975, allocations: 0 / 0.6635 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-06/0.1975, allocations: 0 / 0.6635 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.1977, allocations: 48.03 kB / 0.6636 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.1978, allocations: 7.938 kB / 0.6636 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003169/0.1981, allocations: 36 kB / 0.6636 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.1981, allocations: 11.94 kB / 0.6636 GB, free: 4.246 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.0001243/0.1982, allocations: 196.9 kB / 0.6638 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.1983, allocations: 47.42 kB / 0.6639 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005356/0.1989, allocations: 255 kB / 0.6641 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.1989, allocations: 0 / 0.6641 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1989, allocations: 4.094 kB / 0.6641 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.1989, allocations: 7.922 kB / 0.6641 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009393/0.1998, allocations: 0.6967 MB / 0.6648 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.1999, allocations: 0 / 0.6648 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.2, allocations: 27.98 kB / 0.6648 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2, allocations: 0 / 0.6648 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.2, allocations: 8 kB / 0.6648 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.2, allocations: 7.875 kB / 0.6648 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2, allocations: 4 kB / 0.6648 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004511/0.2005, allocations: 342.4 kB / 0.6652 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.2006, allocations: 132.5 kB / 0.6653 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.2007, allocations: 7.984 kB / 0.6653 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.2009, allocations: 19.92 kB / 0.6653 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.2009, allocations: 19.92 kB / 0.6653 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.201, allocations: 8 kB / 0.6653 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003403/0.2013, allocations: 334.9 kB / 0.6657 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.563e-06/0.2013, allocations: 0 / 0.6657 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006461/0.202, allocations: 203.6 kB / 0.6659 GB, free: 1.836 MB / 0.4981 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.001187/0.2032, allocations: 470.5 kB / 0.6663 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006643/0.2038, allocations: 274.9 kB / 0.6666 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2038, allocations: 0 / 0.6666 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.204, allocations: 83.89 kB / 0.6666 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.2051, allocations: 203 kB / 0.6668 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.2065, allocations: 0.7302 MB / 0.6676 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.2069, allocations: 0.8231 MB / 0.6684 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.207, allocations: 43.42 kB / 0.6684 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of SimCode: time 4e-07/0.207, allocations: 0 / 0.6684 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of Templates: time 0.01308/0.2201, allocations: 7.372 MB / 0.6756 GB, free: 7.992 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)