Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001388, allocations: 182.8 kB / 15.76 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7486/0.7486, allocations: 82.92 MB / 99.41 MB, free: 3.348 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.272/2.272, allocations: 205.4 MB / 325.4 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 102.2 kB / 393.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004574, allocations: 16 kB / 471.5 MB, free: 66.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.08927, allocations: 67.45 MB / 0.5264 GB, free: 15.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.0528/0.1421, allocations: 26.07 MB / 0.5518 GB, free: 4.895 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02225/0.1644, allocations: 12.27 MB / 0.5638 GB, free: 8.605 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.1657, allocations: 27.75 kB / 0.5638 GB, free: 8.578 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.1674, allocations: 0.5056 MB / 0.5643 GB, free: 8.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004124/0.1715, allocations: 1.103 MB / 0.5654 GB, free: 6.965 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008291/0.1798, allocations: 2.311 MB / 0.5677 GB, free: 4.68 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002602/0.1824, allocations: 1.234 MB / 0.5689 GB, free: 3.445 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009652/0.1834, allocations: 0.5305 MB / 0.5694 GB, free: 2.898 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.1852, allocations: 0.7708 MB / 0.5701 GB, free: 2.125 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007837/0.186, allocations: 454.1 kB / 0.5706 GB, free: 1.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.806e-05/0.1861, allocations: 28 kB / 0.5706 GB, free: 1.652 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.1874, allocations: 395.4 kB / 0.571 GB, free: 1.266 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.1876, allocations: 127.4 kB / 0.5711 GB, free: 1.141 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.1879, allocations: 173.3 kB / 0.5713 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.1891, allocations: 0.6935 MB / 0.5719 GB, free: 276 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.982e-06/0.1891, allocations: 0 / 0.5719 GB, free: 276 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1891, allocations: 4 kB / 0.5719 GB, free: 272 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.1892, allocations: 0 / 0.5719 GB, free: 272 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001943/0.1911, allocations: 1.012 MB / 0.5729 GB, free: 15.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.1912, allocations: 8.031 kB / 0.5729 GB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.1914, allocations: 94.97 kB / 0.573 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.1924, allocations: 0.5381 MB / 0.5735 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.1925, allocations: 45 kB / 0.5736 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.1926, allocations: 55.94 kB / 0.5736 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009996/0.1936, allocations: 410.4 kB / 0.574 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1937, allocations: 0 / 0.574 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.62e-05/0.1937, allocations: 16 kB / 0.574 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.1938, allocations: 11.94 kB / 0.5741 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008464/0.1946, allocations: 307.8 kB / 0.5744 GB, free: 13.69 MB / 426.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.003766/0.1984, allocations: 1.858 MB / 0.5762 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008038/0.1992, allocations: 182.4 kB / 0.5763 GB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005461/0.1998, allocations: 344.5 kB / 0.5767 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.1999, allocations: 34.86 kB / 0.5767 GB, free: 11.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 5.018e-06/0.1999, allocations: 0 / 0.5767 GB, free: 11.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.001778/0.2017, allocations: 320.1 kB / 0.577 GB, free: 10.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/0.2018, allocations: 55.41 kB / 0.5771 GB, free: 10.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.2037, allocations: 0.6647 MB / 0.5777 GB, free: 9.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.319e-05/0.2039, allocations: 29.7 kB / 0.5777 GB, free: 9.945 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005662/0.2044, allocations: 368 kB / 0.5781 GB, free: 9.582 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.2046, allocations: 63.09 kB / 0.5781 GB, free: 9.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.2047, allocations: 11.94 kB / 0.5782 GB, free: 9.508 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003138/0.205, allocations: 374.8 kB / 0.5785 GB, free: 9.133 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006209/0.2056, allocations: 107.9 kB / 0.5786 GB, free: 9.027 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007456/0.2064, allocations: 174.2 kB / 0.5788 GB, free: 8.832 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/0.2071, allocations: 125.5 kB / 0.5789 GB, free: 8.711 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-06/0.2071, allocations: 0 / 0.5789 GB, free: 8.711 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001873/0.209, allocations: 390.6 kB / 0.5793 GB, free: 8.324 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002439/0.2093, allocations: 279 kB / 0.5795 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.2093, allocations: 4 kB / 0.5795 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.2093, allocations: 4 kB / 0.5796 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/0.2116, allocations: 159.8 kB / 0.5797 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002036/0.2136, allocations: 2.364 MB / 0.582 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008346/0.2145, allocations: 83.59 kB / 0.5821 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/0.2146, allocations: 19.98 kB / 0.5821 GB, free: 5.309 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2146, allocations: 4 kB / 0.5821 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008595/0.2155, allocations: 292 kB / 0.5824 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.507e-06/0.2155, allocations: 4 kB / 0.5824 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.2155, allocations: 7.938 kB / 0.5824 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005745/0.2161, allocations: 99.88 kB / 0.5825 GB, free: 4.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2161, allocations: 7.938 kB / 0.5825 GB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007313/0.2169, allocations: 87.53 kB / 0.5826 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.365e-05/0.2169, allocations: 12.09 kB / 0.5826 GB, free: 4.805 MB / 426.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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004478/0.2174, allocations: 268.9 kB / 0.5829 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.2176, allocations: 71.16 kB / 0.5829 GB, free: 4.461 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009278/0.2185, allocations: 320.6 kB / 0.5832 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.2185, allocations: 11.94 kB / 0.5832 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.645e-06/0.2186, allocations: 0 / 0.5832 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2186, allocations: 0 / 0.5832 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/0.2206, allocations: 0.8963 MB / 0.5841 GB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.285e-06/0.2206, allocations: 0 / 0.5841 GB, free: 3.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.2211, allocations: 71.95 kB / 0.5842 GB, free: 3.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.293e-06/0.2211, allocations: 0 / 0.5842 GB, free: 3.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.2212, allocations: 7.984 kB / 0.5842 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.2229, allocations: 2.36 MB / 0.5865 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.663e-06/0.223, allocations: 0 / 0.5865 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008938/0.2239, allocations: 453.4 kB / 0.5869 GB, free: 136 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3328/0.5567, allocations: 171.2 kB / 0.5871 GB, free: 64.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/0.5571, allocations: 6.266 kB / 0.5871 GB, free: 64.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/0.5584, allocations: 51.5 kB / 0.5872 GB, free: 64.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.5586, allocations: 15.22 kB / 0.5872 GB, free: 64.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.631e-05/0.5587, allocations: 10.8 kB / 0.5872 GB, free: 64.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001924/0.5606, allocations: 461.9 kB / 0.5876 GB, free: 64.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.381e-06/0.5607, allocations: 0 / 0.5876 GB, free: 64.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00288/0.5636, allocations: 347.9 kB / 0.5879 GB, free: 64.61 MB / 426.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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00116/0.5648, allocations: 238.1 kB / 0.5882 GB, free: 64.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004647/0.5695, allocations: 0.4984 MB / 0.5887 GB, free: 64.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.068e-06/0.5695, allocations: 3.406 kB / 0.5887 GB, free: 64.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.5708, allocations: 146.4 kB / 0.5888 GB, free: 64.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.5733, allocations: 376.1 kB / 0.5892 GB, free: 64.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.5756, allocations: 1.31 MB / 0.5904 GB, free: 63.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.5762, allocations: 0.9475 MB / 0.5914 GB, free: 63.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007242/0.5769, allocations: 117.5 kB / 0.5915 GB, free: 63.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.5771, allocations: 53.98 kB / 0.5915 GB, free: 63.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.559e-06/0.5771, allocations: 0 / 0.5915 GB, free: 63.1 MB / 426.7 MB Notification: Performance of Templates: time 0.03219/0.6093, allocations: 12.08 MB / 0.6033 GB, free: 60.02 MB / 426.7 MB