Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 183.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-master/package.mo): time 0.7464/0.7464, allocations: 133.3 MB / 150.1 MB, free: 11.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.523/1.523, allocations: 222.9 MB / 404.7 MB, free: 6.086 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.001046/0.001046, allocations: 91.77 kB / 485.9 MB, free: 7.188 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1375, allocations: 80.42 MB / 0.6421 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01967/0.1573, allocations: 19.35 MB / 0.661 GB, free: 2 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.007021/0.1643, allocations: 5.183 MB / 0.6661 GB, free: 12.8 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005272/0.1649, allocations: 15.88 kB / 0.6661 GB, free: 12.79 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006538/0.1656, allocations: 206.7 kB / 0.6663 GB, free: 12.58 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.1672, allocations: 0.7124 MB / 0.667 GB, free: 11.87 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.169, allocations: 0.7922 MB / 0.6678 GB, free: 11.08 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001867/0.1709, allocations: 1.939 MB / 0.6697 GB, free: 9.137 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005502/0.1715, allocations: 461.4 kB / 0.6701 GB, free: 8.676 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008556/0.1723, allocations: 0.5834 MB / 0.6707 GB, free: 8.09 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.1729, allocations: 0.5251 MB / 0.6712 GB, free: 7.562 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 7.595e-05/0.173, allocations: 32 kB / 0.6712 GB, free: 7.531 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.1741, allocations: 0.6626 MB / 0.6719 GB, free: 6.867 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.1742, allocations: 139.3 kB / 0.672 GB, free: 6.73 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003094/0.1746, allocations: 366 kB / 0.6724 GB, free: 6.371 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.1757, allocations: 1.047 MB / 0.6734 GB, free: 5.32 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1757, allocations: 0 / 0.6734 GB, free: 5.32 MB / 474.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1757, allocations: 0 / 0.6734 GB, free: 5.32 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.1757, allocations: 0 / 0.6734 GB, free: 5.32 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001919/0.1776, allocations: 1.11 MB / 0.6745 GB, free: 4.16 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1777, allocations: 11.97 kB / 0.6745 GB, free: 4.148 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.1778, allocations: 80 kB / 0.6746 GB, free: 4.07 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007336/0.1786, allocations: 0.5025 MB / 0.675 GB, free: 3.523 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.1786, allocations: 37 kB / 0.6751 GB, free: 3.484 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.75e-05/0.1787, allocations: 52 kB / 0.6751 GB, free: 3.434 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.1797, allocations: 0.6278 MB / 0.6757 GB, free: 2.746 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1797, allocations: 0 / 0.6757 GB, free: 2.746 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.1798, allocations: 20 kB / 0.6758 GB, free: 2.727 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.1798, allocations: 16 kB / 0.6758 GB, free: 2.711 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.1809, allocations: 491.4 kB / 0.6762 GB, free: 2.227 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.003327/0.1842, allocations: 3.204 MB / 0.6794 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/0.1849, allocations: 338.9 kB / 0.6797 GB, free: 14.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.1854, allocations: 233.4 kB / 0.6799 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003907/0.1858, allocations: 352.4 kB / 0.6803 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1858, allocations: 30.56 kB / 0.6803 GB, free: 13.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=38): time 1.863e-06/0.1858, allocations: 4 kB / 0.6803 GB, free: 13.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=38): time 0.00207/0.1879, allocations: 0.8024 MB / 0.6811 GB, free: 12.96 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.757e-05/0.188, allocations: 55.41 kB / 0.6811 GB, free: 12.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006476/0.1886, allocations: 0.5977 MB / 0.6817 GB, free: 12.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.749e-05/0.1887, allocations: 33.7 kB / 0.6817 GB, free: 12.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.1889, allocations: 324.4 kB / 0.6821 GB, free: 11.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.796e-05/0.189, allocations: 138.1 kB / 0.6822 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.1892, allocations: 126.2 kB / 0.6823 GB, free: 11.66 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1894, allocations: 374.7 kB / 0.6827 GB, free: 11.29 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.1899, allocations: 219.3 kB / 0.6829 GB, free: 11.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006019/0.1905, allocations: 372 kB / 0.6832 GB, free: 10.65 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.1916, allocations: 0.5704 MB / 0.6838 GB, free: 10.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1916, allocations: 0 / 0.6838 GB, free: 10.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001438/0.193, allocations: 0.7148 MB / 0.6845 GB, free: 9.289 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1931, allocations: 11.98 kB / 0.6845 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.1931, allocations: 4 kB / 0.6845 GB, free: 9.273 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/0.1937, allocations: 129 kB / 0.6846 GB, free: 9.145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.1942, allocations: 139.8 kB / 0.6848 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005609/0.1948, allocations: 0.6264 MB / 0.6854 GB, free: 8.355 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.1954, allocations: 95.38 kB / 0.6855 GB, free: 8.262 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.1955, allocations: 31.98 kB / 0.6855 GB, free: 8.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006524/0.1961, allocations: 349.3 kB / 0.6858 GB, free: 7.887 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006116/0.1967, allocations: 360 kB / 0.6862 GB, free: 7.473 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001048/0.1978, allocations: 0.5627 MB / 0.6867 GB, free: 6.848 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.557e-06/0.1978, allocations: 4 kB / 0.6867 GB, free: 6.844 MB / 490.7 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.001363/0.1992, allocations: 0.6827 MB / 0.6874 GB, free: 6.152 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1992, allocations: 8 kB / 0.6874 GB, free: 6.145 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1992, allocations: 4 kB / 0.6874 GB, free: 6.141 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1992, allocations: 8 kB / 0.6874 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005818/0.1998, allocations: 155.7 kB / 0.6876 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.1998, allocations: 15.92 kB / 0.6876 GB, free: 5.965 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.2004, allocations: 79.69 kB / 0.6876 GB, free: 5.887 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/0.2004, allocations: 31.98 kB / 0.6877 GB, free: 5.855 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001873/0.2006, allocations: 213.5 kB / 0.6879 GB, free: 5.641 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2008, allocations: 63.16 kB / 0.6879 GB, free: 5.578 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.2022, allocations: 0.6469 MB / 0.6886 GB, free: 4.922 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.2022, allocations: 7.938 kB / 0.6886 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2023, allocations: 0 / 0.6886 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.2023, allocations: 3.984 kB / 0.6886 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/0.2047, allocations: 1.367 MB / 0.6899 GB, free: 3.473 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2047, allocations: 0 / 0.6899 GB, free: 3.473 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.2051, allocations: 87.88 kB / 0.69 GB, free: 3.387 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003973/0.2055, allocations: 112.8 kB / 0.6901 GB, free: 3.273 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.2055, allocations: 12.05 kB / 0.6901 GB, free: 3.262 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005808/0.2061, allocations: 0.6304 MB / 0.6907 GB, free: 2.605 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2061, allocations: 3.984 kB / 0.6907 GB, free: 2.602 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.2083, allocations: 1.604 MB / 0.6923 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002534/0.2085, allocations: 196.1 kB / 0.6925 GB, free: 0.7148 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.952e-05/0.2086, allocations: 4 kB / 0.6925 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.209, allocations: 55.88 kB / 0.6925 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.078e-05/0.2091, allocations: 35.89 kB / 0.6926 GB, free: 0.6211 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/0.2092, allocations: 12 kB / 0.6926 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004525/0.2096, allocations: 403.1 kB / 0.693 GB, free: 228 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2097, allocations: 0 / 0.693 GB, free: 228 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.2832/0.4928, allocations: 395.3 kB / 0.6934 GB, free: 58.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008252/0.4937, allocations: 294.2 kB / 0.6936 GB, free: 58.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.4962, allocations: 0.8703 MB / 0.6945 GB, free: 58.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.4962, allocations: 0 / 0.6945 GB, free: 58.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008274/0.4971, allocations: 284.5 kB / 0.6948 GB, free: 57.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/0.4989, allocations: 260.9 kB / 0.695 GB, free: 57.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.5013, allocations: 1.591 MB / 0.6966 GB, free: 56.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.5018, allocations: 0.9249 MB / 0.6975 GB, free: 56.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006711/0.5025, allocations: 147.4 kB / 0.6976 GB, free: 56.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.5026, allocations: 64.53 kB / 0.6977 GB, free: 56.17 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5026, allocations: 0 / 0.6977 GB, free: 56.17 MB / 490.7 MB Notification: Performance of Templates: time 0.02599/0.5286, allocations: 12.67 MB / 0.71 GB, free: 53.1 MB / 490.7 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.sim & ./IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.pipe 2>&1)