Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001112/0.001112, allocations: 181.2 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/package.mo): time 0.7978/0.7978, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.441/1.441, allocations: 222.9 MB / 403.3 MB, free: 7.137 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.001043/0.001043, allocations: 106 kB / 484.3 MB, free: 8.727 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 55.92 kB / 0.5619 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1646, allocations: 80.2 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01582/0.1805, allocations: 15.5 MB / 0.6553 GB, free: 7.223 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.006036/0.1866, allocations: 4.35 MB / 0.6596 GB, free: 2.855 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005061/0.1871, allocations: 11.94 kB / 0.6596 GB, free: 2.844 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007683/0.1879, allocations: 218.8 kB / 0.6598 GB, free: 2.629 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.1892, allocations: 0.5577 MB / 0.6603 GB, free: 2.07 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.1909, allocations: 0.6283 MB / 0.6609 GB, free: 1.449 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.1922, allocations: 1.308 MB / 0.6622 GB, free: 144 kB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.1926, allocations: 307.8 kB / 0.6625 GB, free: 15.84 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006163/0.1933, allocations: 394.3 kB / 0.6629 GB, free: 15.45 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000387/0.1937, allocations: 318.6 kB / 0.6632 GB, free: 15.14 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 6.102e-05/0.1937, allocations: 23.94 kB / 0.6632 GB, free: 15.12 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.1948, allocations: 0.6004 MB / 0.6638 GB, free: 14.52 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.195, allocations: 87.66 kB / 0.6639 GB, free: 14.43 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.1952, allocations: 214.7 kB / 0.6641 GB, free: 14.22 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009292/0.1961, allocations: 0.7477 MB / 0.6648 GB, free: 13.47 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1961, allocations: 3.938 kB / 0.6648 GB, free: 13.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1961, allocations: 4 kB / 0.6648 GB, free: 13.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.1961, allocations: 0 / 0.6648 GB, free: 13.46 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.001231/0.1974, allocations: 0.8175 MB / 0.6656 GB, free: 12.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.1974, allocations: 15.97 kB / 0.6656 GB, free: 12.58 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.1975, allocations: 56.27 kB / 0.6657 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005769/0.1981, allocations: 420.8 kB / 0.6661 GB, free: 12.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.1981, allocations: 24.44 kB / 0.6661 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.1982, allocations: 24 kB / 0.6661 GB, free: 12.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.1986, allocations: 219.2 kB / 0.6663 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1986, allocations: 0 / 0.6663 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.1986, allocations: 8 kB / 0.6664 GB, free: 11.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1987, allocations: 4 kB / 0.6664 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003714/0.199, allocations: 165.6 kB / 0.6665 GB, free: 11.63 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.001528/0.2006, allocations: 0.9457 MB / 0.6674 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.2009, allocations: 130.6 kB / 0.6676 GB, free: 10.47 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.201, allocations: 68.81 kB / 0.6676 GB, free: 10.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002709/0.2013, allocations: 340.4 kB / 0.668 GB, free: 9.996 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.2013, allocations: 30.56 kB / 0.668 GB, free: 9.957 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.2014, allocations: 0 / 0.668 GB, free: 9.957 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006348/0.202, allocations: 245 kB / 0.6682 GB, free: 9.711 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.202, allocations: 55.41 kB / 0.6683 GB, free: 9.645 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/0.2025, allocations: 470 kB / 0.6687 GB, free: 9.172 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.38e-05/0.2026, allocations: 33.7 kB / 0.6688 GB, free: 9.133 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.2028, allocations: 232.5 kB / 0.669 GB, free: 8.902 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.2028, allocations: 51.36 kB / 0.669 GB, free: 8.852 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.018e-05/0.2029, allocations: 53.7 kB / 0.6691 GB, free: 8.793 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.203, allocations: 366.7 kB / 0.6694 GB, free: 8.426 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.2032, allocations: 68.81 kB / 0.6695 GB, free: 8.355 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.2035, allocations: 152.1 kB / 0.6696 GB, free: 8.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.2038, allocations: 163.4 kB / 0.6698 GB, free: 8.012 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2039, allocations: 4 kB / 0.6698 GB, free: 8.008 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004995/0.2044, allocations: 258 kB / 0.67 GB, free: 7.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.2044, allocations: 7.938 kB / 0.67 GB, free: 7.742 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2044, allocations: 4 kB / 0.6701 GB, free: 7.738 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2044, allocations: 0 / 0.6701 GB, free: 7.738 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.2046, allocations: 47.97 kB / 0.6701 GB, free: 7.691 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.443e-06/0.2047, allocations: 4 kB / 0.6701 GB, free: 7.688 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.205, allocations: 39.81 kB / 0.6701 GB, free: 7.648 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.2051, allocations: 15.92 kB / 0.6702 GB, free: 7.633 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002783/0.2054, allocations: 188.2 kB / 0.6703 GB, free: 7.445 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002423/0.2056, allocations: 162.1 kB / 0.6705 GB, free: 7.254 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003326/0.206, allocations: 178.5 kB / 0.6707 GB, free: 7.066 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-06/0.206, allocations: 0 / 0.6707 GB, free: 7.066 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004816/0.2065, allocations: 256.9 kB / 0.6709 GB, free: 6.809 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.2065, allocations: 4 kB / 0.6709 GB, free: 6.805 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-06/0.2065, allocations: 0 / 0.6709 GB, free: 6.805 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-06/0.2065, allocations: 4 kB / 0.6709 GB, free: 6.801 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.2067, allocations: 48.03 kB / 0.671 GB, free: 6.754 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2067, allocations: 3.938 kB / 0.671 GB, free: 6.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.2071, allocations: 43.81 kB / 0.671 GB, free: 6.707 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.2071, allocations: 11.98 kB / 0.671 GB, free: 6.695 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.0001036/0.2072, allocations: 197.5 kB / 0.6712 GB, free: 6.496 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.2073, allocations: 39.53 kB / 0.6712 GB, free: 6.457 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005519/0.2078, allocations: 254.5 kB / 0.6715 GB, free: 6.203 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.2079, allocations: 3.984 kB / 0.6715 GB, free: 6.199 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2079, allocations: 0 / 0.6715 GB, free: 6.199 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2079, allocations: 0 / 0.6715 GB, free: 6.199 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009654/0.2088, allocations: 0.7005 MB / 0.6722 GB, free: 5.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.2089, allocations: 4 kB / 0.6722 GB, free: 5.426 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.209, allocations: 31.92 kB / 0.6722 GB, free: 5.395 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.209, allocations: 7.938 kB / 0.6722 GB, free: 5.387 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.209, allocations: 12.11 kB / 0.6722 GB, free: 5.375 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.209, allocations: 0 / 0.6722 GB, free: 5.375 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.209, allocations: 96 / 0.6722 GB, free: 5.375 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/0.21, allocations: 1.049 MB / 0.6732 GB, free: 4.258 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.2102, allocations: 136.5 kB / 0.6734 GB, free: 4.105 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.2102, allocations: 4 kB / 0.6734 GB, free: 4.102 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.2104, allocations: 31.91 kB / 0.6734 GB, free: 4.07 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.2105, allocations: 7.984 kB / 0.6734 GB, free: 4.062 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.2105, allocations: 12 kB / 0.6734 GB, free: 4.051 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003497/0.2109, allocations: 334.8 kB / 0.6738 GB, free: 3.727 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.442e-06/0.2109, allocations: 0 / 0.6738 GB, free: 3.727 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008564/0.2118, allocations: 211.6 kB / 0.674 GB, free: 3.52 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.001034/0.2128, allocations: 482.6 kB / 0.6744 GB, free: 3.184 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000641/0.2134, allocations: 275.6 kB / 0.6747 GB, free: 2.914 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2135, allocations: 4 kB / 0.6747 GB, free: 2.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.2137, allocations: 83.89 kB / 0.6748 GB, free: 2.828 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.215, allocations: 217.1 kB / 0.675 GB, free: 2.621 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.2163, allocations: 0.9987 MB / 0.6759 GB, free: 1.574 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.2167, allocations: 0.8272 MB / 0.6767 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003183/0.2171, allocations: 99.38 kB / 0.6768 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.962e-05/0.2172, allocations: 39.42 kB / 0.6769 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2172, allocations: 0 / 0.6769 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of Templates: time 0.01433/0.2315, allocations: 8.473 MB / 0.6852 GB, free: 8.215 MB / 490.7 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)