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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7056/0.7056, allocations: 133.4 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 404.7 MB, free: 6.043 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009593/0.0009593, allocations: 103.5 kB / 485.9 MB, free: 7.176 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009703/0.0009703, allocations: 51.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1259, allocations: 80.44 MB / 0.6422 GB, free: 5.43 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01537/0.1413, allocations: 15.49 MB / 0.6573 GB, free: 5.867 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005965/0.1473, allocations: 4.35 MB / 0.6615 GB, free: 1.504 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004601/0.1478, allocations: 11.94 kB / 0.6615 GB, free: 1.492 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008008/0.1486, allocations: 222.9 kB / 0.6617 GB, free: 1.273 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.1498, allocations: 0.5617 MB / 0.6623 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.1514, allocations: 0.6212 MB / 0.6629 GB, free: 100 kB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.1526, allocations: 1.31 MB / 0.6642 GB, free: 14.78 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003923/0.153, allocations: 295.9 kB / 0.6645 GB, free: 14.49 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000583/0.1536, allocations: 394.1 kB / 0.6648 GB, free: 14.11 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.154, allocations: 326.6 kB / 0.6652 GB, free: 13.79 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.1541, allocations: 16 kB / 0.6652 GB, free: 13.77 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009384/0.155, allocations: 0.6043 MB / 0.6658 GB, free: 13.17 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1551, allocations: 91.59 kB / 0.6658 GB, free: 13.08 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002035/0.1553, allocations: 218.7 kB / 0.6661 GB, free: 12.86 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008269/0.1562, allocations: 0.736 MB / 0.6668 GB, free: 12.12 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1562, allocations: 0 / 0.6668 GB, free: 12.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1562, allocations: 0 / 0.6668 GB, free: 12.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1562, allocations: 4 kB / 0.6668 GB, free: 12.12 MB / 474.7 MB 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.001159/0.1574, allocations: 0.8253 MB / 0.6676 GB, free: 11.25 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.1574, allocations: 8.031 kB / 0.6676 GB, free: 11.24 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.877e-05/0.1575, allocations: 60.22 kB / 0.6676 GB, free: 11.18 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005397/0.1581, allocations: 420.8 kB / 0.668 GB, free: 10.73 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.1581, allocations: 16.44 kB / 0.6681 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.1581, allocations: 32 kB / 0.6681 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003989/0.1585, allocations: 215.2 kB / 0.6683 GB, free: 10.46 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.1586, allocations: 0 / 0.6683 GB, free: 10.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.1586, allocations: 7.984 kB / 0.6683 GB, free: 10.46 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.1586, allocations: 11.94 kB / 0.6683 GB, free: 10.45 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.159, allocations: 169.6 kB / 0.6685 GB, free: 10.28 MB / 474.7 MB 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.001495/0.1605, allocations: 0.9379 MB / 0.6694 GB, free: 9.266 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.1608, allocations: 142.6 kB / 0.6695 GB, free: 9.117 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.161, allocations: 70.81 kB / 0.6696 GB, free: 9.047 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.1613, allocations: 332.4 kB / 0.6699 GB, free: 8.648 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/0.1613, allocations: 34.55 kB / 0.67 GB, free: 8.605 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.1613, allocations: 0 / 0.67 GB, free: 8.605 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006094/0.1619, allocations: 245 kB / 0.6702 GB, free: 8.359 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.162, allocations: 55.41 kB / 0.6702 GB, free: 8.293 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.1625, allocations: 478 kB / 0.6707 GB, free: 7.812 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1625, allocations: 25.7 kB / 0.6707 GB, free: 7.781 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.1627, allocations: 232.5 kB / 0.6709 GB, free: 7.547 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.1627, allocations: 47.3 kB / 0.671 GB, free: 7.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-05/0.1628, allocations: 61.69 kB / 0.671 GB, free: 7.434 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.163, allocations: 350.7 kB / 0.6714 GB, free: 7.082 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.1632, allocations: 80.81 kB / 0.6715 GB, free: 7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.1634, allocations: 153.3 kB / 0.6716 GB, free: 6.824 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.1638, allocations: 171.6 kB / 0.6718 GB, free: 6.648 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1638, allocations: 0 / 0.6718 GB, free: 6.648 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005061/0.1643, allocations: 256.9 kB / 0.672 GB, free: 6.391 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.1644, allocations: 5.094 kB / 0.672 GB, free: 6.387 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1644, allocations: 3.938 kB / 0.672 GB, free: 6.383 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1644, allocations: 4 kB / 0.672 GB, free: 6.379 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.1646, allocations: 47.97 kB / 0.6721 GB, free: 6.332 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1646, allocations: 0 / 0.6721 GB, free: 6.332 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.165, allocations: 35.81 kB / 0.6721 GB, free: 6.297 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.165, allocations: 15.94 kB / 0.6721 GB, free: 6.281 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002754/0.1653, allocations: 188.1 kB / 0.6723 GB, free: 6.094 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002597/0.1656, allocations: 161.3 kB / 0.6725 GB, free: 5.902 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000351/0.1659, allocations: 174.3 kB / 0.6726 GB, free: 5.719 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/0.1659, allocations: 0 / 0.6726 GB, free: 5.719 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005122/0.1664, allocations: 256.8 kB / 0.6729 GB, free: 5.461 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.985e-06/0.1665, allocations: 8 kB / 0.6729 GB, free: 5.453 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.1665, allocations: 0 / 0.6729 GB, free: 5.453 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-06/0.1665, allocations: 4 kB / 0.6729 GB, free: 5.449 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.1667, allocations: 48.03 kB / 0.6729 GB, free: 5.402 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1667, allocations: 7.938 kB / 0.6729 GB, free: 5.395 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.1671, allocations: 39.81 kB / 0.673 GB, free: 5.355 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.1671, allocations: 8 kB / 0.673 GB, free: 5.348 MB / 474.7 MB 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.0001136/0.1672, allocations: 193.5 kB / 0.6732 GB, free: 5.152 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.908e-05/0.1673, allocations: 47.52 kB / 0.6732 GB, free: 5.105 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005567/0.1679, allocations: 250.7 kB / 0.6734 GB, free: 4.855 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.1679, allocations: 8 kB / 0.6734 GB, free: 4.848 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1679, allocations: 3.984 kB / 0.6735 GB, free: 4.844 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1679, allocations: 0 / 0.6735 GB, free: 4.844 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009479/0.1688, allocations: 0.6966 MB / 0.6741 GB, free: 4.078 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1689, allocations: 0 / 0.6741 GB, free: 4.078 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.169, allocations: 31.98 kB / 0.6742 GB, free: 4.047 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.169, allocations: 12.06 kB / 0.6742 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.169, allocations: 128 / 0.6742 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.169, allocations: 8 kB / 0.6742 GB, free: 4.027 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.169, allocations: 3.984 kB / 0.6742 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009207/0.17, allocations: 1.043 MB / 0.6752 GB, free: 2.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.1701, allocations: 136.5 kB / 0.6753 GB, free: 2.758 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.982e-05/0.1702, allocations: 8 kB / 0.6753 GB, free: 2.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.1704, allocations: 19.91 kB / 0.6754 GB, free: 2.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.619e-05/0.1705, allocations: 23.92 kB / 0.6754 GB, free: 2.707 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1705, allocations: 4 kB / 0.6754 GB, free: 2.703 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003833/0.1709, allocations: 342.8 kB / 0.6757 GB, free: 2.371 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1709, allocations: 0 / 0.6757 GB, free: 2.371 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008613/0.1718, allocations: 207.7 kB / 0.6759 GB, free: 2.168 MB / 474.7 MB 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.001106/0.1729, allocations: 479.7 kB / 0.6764 GB, free: 1.836 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006751/0.1736, allocations: 279.6 kB / 0.6766 GB, free: 1.562 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1736, allocations: 0 / 0.6766 GB, free: 1.562 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.1738, allocations: 87.88 kB / 0.6767 GB, free: 1.477 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.1751, allocations: 215.5 kB / 0.6769 GB, free: 1.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.1766, allocations: 1.003 MB / 0.6779 GB, free: 224 kB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.177, allocations: 0.8272 MB / 0.6787 GB, free: 15.36 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003218/0.1774, allocations: 91.55 kB / 0.6788 GB, free: 15.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.1774, allocations: 39.44 kB / 0.6788 GB, free: 15.23 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1775, allocations: 0 / 0.6788 GB, free: 15.23 MB / 490.7 MB Notification: Performance of Templates: time 0.01407/0.1915, allocations: 8.501 MB / 0.6871 GB, free: 6.84 MB / 490.7 MB 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)