Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001154/0.001154, allocations: 108.2 kB / 16.41 MB, free: 6.457 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.001166/0.001166, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7727/0.7727, allocations: 135.1 MB / 426.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 62.09 kB / 0.5863 GB, free: 21.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1547, allocations: 80.92 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01548/0.1703, allocations: 15.55 MB / 0.6805 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006138/0.1764, allocations: 4.333 MB / 0.6847 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005993/0.1771, allocations: 11.94 kB / 0.6847 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009522/0.178, allocations: 270.3 kB / 0.685 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.1796, allocations: 0.6246 MB / 0.6856 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.1814, allocations: 0.7102 MB / 0.6863 GB, free: 212 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00129/0.1827, allocations: 1.04 MB / 0.6873 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004428/0.1831, allocations: 340.7 kB / 0.6876 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006694/0.1838, allocations: 430.3 kB / 0.6881 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004046/0.1842, allocations: 318.5 kB / 0.6884 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/0.1843, allocations: 28 kB / 0.6884 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.1855, allocations: 0.6317 MB / 0.689 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.1856, allocations: 99.66 kB / 0.6891 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.1858, allocations: 230.6 kB / 0.6893 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.1868, allocations: 0.7789 MB / 0.6901 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1869, allocations: 0 / 0.6901 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1869, allocations: 0 / 0.6901 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.1869, allocations: 0 / 0.6901 GB, free: 12.33 MB / 0.5294 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.001182/0.1881, allocations: 0.8291 MB / 0.6909 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1881, allocations: 9.109 kB / 0.6909 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1882, allocations: 60.27 kB / 0.6909 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.1889, allocations: 432.6 kB / 0.6914 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.1889, allocations: 20.44 kB / 0.6914 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.189, allocations: 28 kB / 0.6914 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/0.1894, allocations: 215.2 kB / 0.6916 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1894, allocations: 3.984 kB / 0.6916 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.1894, allocations: 8 kB / 0.6916 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1894, allocations: 8 kB / 0.6916 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003509/0.1898, allocations: 165.6 kB / 0.6918 GB, free: 10.47 MB / 0.5294 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.001469/0.1913, allocations: 0.9418 MB / 0.6927 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000269/0.1915, allocations: 134.5 kB / 0.6928 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.1917, allocations: 72.81 kB / 0.6929 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002846/0.192, allocations: 348.5 kB / 0.6932 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.192, allocations: 30.56 kB / 0.6933 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.192, allocations: 0 / 0.6933 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.0005979/0.1926, allocations: 240.2 kB / 0.6935 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1927, allocations: 51.41 kB / 0.6935 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.1932, allocations: 474 kB / 0.694 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.1932, allocations: 37.7 kB / 0.694 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.1934, allocations: 228.5 kB / 0.6943 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.1934, allocations: 47.3 kB / 0.6943 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.41e-05/0.1935, allocations: 57.69 kB / 0.6944 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1937, allocations: 362.7 kB / 0.6947 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.1939, allocations: 68.81 kB / 0.6948 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.1941, allocations: 147.7 kB / 0.6949 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.1945, allocations: 168.4 kB / 0.6951 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1945, allocations: 0 / 0.6951 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004769/0.1949, allocations: 257 kB / 0.6953 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.195, allocations: 8 kB / 0.6953 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.195, allocations: 96 / 0.6953 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.195, allocations: 3.984 kB / 0.6953 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.1952, allocations: 47.91 kB / 0.6954 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.1952, allocations: 0 / 0.6954 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.1956, allocations: 35.91 kB / 0.6954 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.1956, allocations: 19.88 kB / 0.6954 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000265/0.1959, allocations: 196 kB / 0.6956 GB, free: 6.289 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002238/0.1961, allocations: 161.2 kB / 0.6958 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003096/0.1964, allocations: 176.2 kB / 0.6959 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.1964, allocations: 0 / 0.6959 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004773/0.1969, allocations: 244.9 kB / 0.6962 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.915e-06/0.1969, allocations: 8.062 kB / 0.6962 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1969, allocations: 4 kB / 0.6962 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.267e-06/0.1969, allocations: 0 / 0.6962 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.1971, allocations: 47.91 kB / 0.6962 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.1971, allocations: 4 kB / 0.6962 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003044/0.1975, allocations: 31.81 kB / 0.6963 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.1975, allocations: 15.98 kB / 0.6963 GB, free: 5.555 MB / 0.5294 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.0001143/0.1976, allocations: 204.1 kB / 0.6965 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.34e-05/0.1977, allocations: 39.53 kB / 0.6965 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005139/0.1982, allocations: 242.8 kB / 0.6967 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1982, allocations: 0 / 0.6967 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1982, allocations: 0 / 0.6967 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.1984, allocations: 132.5 kB / 0.6969 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.1984, allocations: 15.92 kB / 0.6969 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.1986, allocations: 15.98 kB / 0.6969 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.1987, allocations: 11.98 kB / 0.6969 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004283/0.1991, allocations: 272.7 kB / 0.6972 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004511/0.1996, allocations: 404.2 kB / 0.6975 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001496/0.1997, allocations: 79.88 kB / 0.6976 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003325/0.2001, allocations: 330.9 kB / 0.6979 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of Backend: time 7.21e-07/0.2001, allocations: 0 / 0.6979 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002152/0.2022, allocations: 0.7987 MB / 0.6987 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001654/0.2039, allocations: 1.258 MB / 0.6999 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of Templates: time 0.01661/0.2205, allocations: 9.795 MB / 0.7095 GB, free: 8.188 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)