Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves.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.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002151/0.002155, allocations: 187.8 kB / 15.76 MB, free: 5.996 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.759/0.759, allocations: 82.92 MB / 99.42 MB, free: 3.301 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.22/2.22, allocations: 205.4 MB / 325.4 MB, free: 3.344 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.001039/0.001039, allocations: 86.92 kB / 393.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000746/0.000746, allocations: 16 kB / 471.5 MB, free: 66.56 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1291, allocations: 67.45 MB / 0.5264 GB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03905/0.1682, allocations: 25.39 MB / 0.5512 GB, free: 5.605 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02085/0.1891, allocations: 10.33 MB / 0.5612 GB, free: 11.26 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.1907, allocations: 39.62 kB / 0.5613 GB, free: 11.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002323/0.1931, allocations: 0.6106 MB / 0.5619 GB, free: 10.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005751/0.1989, allocations: 1.39 MB / 0.5632 GB, free: 9.215 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01036/0.2092, allocations: 2.887 MB / 0.5661 GB, free: 6.355 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0045/0.2138, allocations: 2.096 MB / 0.5681 GB, free: 4.254 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002126/0.2159, allocations: 1.094 MB / 0.5692 GB, free: 3.152 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.219, allocations: 1.266 MB / 0.5704 GB, free: 1.883 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003237/0.2223, allocations: 1.293 MB / 0.5717 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005967/0.223, allocations: 60 kB / 0.5717 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002902/0.2259, allocations: 0.9088 MB / 0.5726 GB, free: 15.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006432/0.2266, allocations: 322.9 kB / 0.5729 GB, free: 15.3 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005682/0.2272, allocations: 245.1 kB / 0.5732 GB, free: 15.05 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.23, allocations: 1.535 MB / 0.5747 GB, free: 13.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.684e-06/0.2301, allocations: 4 kB / 0.5747 GB, free: 13.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2301, allocations: 0 / 0.5747 GB, free: 13.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.584e-05/0.2301, allocations: 0 / 0.5747 GB, free: 13.51 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002925/0.233, allocations: 1.328 MB / 0.576 GB, free: 12.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.2331, allocations: 8.031 kB / 0.576 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000552/0.2337, allocations: 150.5 kB / 0.5761 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.2361, allocations: 0.8525 MB / 0.5769 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.2362, allocations: 81.31 kB / 0.577 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003153/0.2365, allocations: 120 kB / 0.5771 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.2381, allocations: 0.6356 MB / 0.5778 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.2381, allocations: 0 / 0.5778 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.104e-05/0.2382, allocations: 28 kB / 0.5778 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.2382, allocations: 12 kB / 0.5778 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.2396, allocations: 480.8 kB / 0.5782 GB, free: 9.711 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.00663/0.2462, allocations: 2.867 MB / 0.581 GB, free: 6.695 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008963/0.2471, allocations: 311.8 kB / 0.5813 GB, free: 6.383 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004072/0.2476, allocations: 344.7 kB / 0.5817 GB, free: 5.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.2476, allocations: 34.84 kB / 0.5817 GB, free: 5.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.612e-06/0.2476, allocations: 0 / 0.5817 GB, free: 5.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.001897/0.2495, allocations: 0.545 MB / 0.5822 GB, free: 5.379 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.2496, allocations: 55.41 kB / 0.5823 GB, free: 5.312 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.2512, allocations: 0.8752 MB / 0.5831 GB, free: 4.418 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002731/0.2515, allocations: 57.7 kB / 0.5832 GB, free: 4.355 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006807/0.2522, allocations: 0.5375 MB / 0.5837 GB, free: 3.805 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.2524, allocations: 122.3 kB / 0.5838 GB, free: 3.684 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.2524, allocations: 8 kB / 0.5839 GB, free: 3.676 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.2526, allocations: 334 kB / 0.5842 GB, free: 3.344 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/0.2532, allocations: 177.2 kB / 0.5843 GB, free: 3.168 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.2552, allocations: 1.135 MB / 0.5854 GB, free: 1.668 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/0.256, allocations: 306.8 kB / 0.5857 GB, free: 1.371 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.702e-06/0.256, allocations: 7.953 kB / 0.5857 GB, free: 1.363 MB / 426.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001944/0.258, allocations: 0.6384 MB / 0.5864 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.3148/0.5728, allocations: 0.798 MB / 0.5871 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/0.5729, allocations: 5.5 kB / 0.5872 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.5729, allocations: 9.922 kB / 0.5872 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/0.5749, allocations: 236.6 kB / 0.5874 GB, free: 62.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.5764, allocations: 2.95 MB / 0.5903 GB, free: 59.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004707/0.5812, allocations: 0.7568 MB / 0.591 GB, free: 59.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/0.5814, allocations: 27.14 kB / 0.591 GB, free: 59.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.5814, allocations: 3.969 kB / 0.591 GB, free: 59.45 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001591/0.583, allocations: 0.4985 MB / 0.5915 GB, free: 59.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.5831, allocations: 2 kB / 0.5915 GB, free: 59.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.5831, allocations: 5.5 kB / 0.5915 GB, free: 59.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009591/0.5841, allocations: 162 kB / 0.5917 GB, free: 59.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.5841, allocations: 5.828 kB / 0.5917 GB, free: 59.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00426/0.5884, allocations: 0.7378 MB / 0.5924 GB, free: 59.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.5886, allocations: 24.45 kB / 0.5924 GB, free: 59.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007775/0.5894, allocations: 332.5 kB / 0.5928 GB, free: 59.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.5896, allocations: 94.31 kB / 0.5928 GB, free: 59.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.5912, allocations: 0.528 MB / 0.5934 GB, free: 59.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.5913, allocations: 4.531 kB / 0.5934 GB, free: 59.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.763e-06/0.5913, allocations: 3.438 kB / 0.5934 GB, free: 59.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.5913, allocations: 3.062 kB / 0.5934 GB, free: 59.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/0.5942, allocations: 1.259 MB / 0.5946 GB, free: 58.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.5942, allocations: 1.531 kB / 0.5946 GB, free: 58.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007533/0.595, allocations: 117.1 kB / 0.5947 GB, free: 58.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.595, allocations: 7.391 kB / 0.5947 GB, free: 58.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/0.595, allocations: 10.83 kB / 0.5947 GB, free: 58.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.5962, allocations: 2.941 MB / 0.5976 GB, free: 55.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.885e-06/0.5962, allocations: 2.094 kB / 0.5976 GB, free: 55.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.5975, allocations: 0.6266 MB / 0.5982 GB, free: 55.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/0.5979, allocations: 218.9 kB / 0.5984 GB, free: 54.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.5981, allocations: 8.844 kB / 0.5984 GB, free: 54.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007205/0.5988, allocations: 63.03 kB / 0.5985 GB, free: 54.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.656e-05/0.5989, allocations: 29.36 kB / 0.5985 GB, free: 54.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.599, allocations: 15.45 kB / 0.5985 GB, free: 54.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009989/0.6, allocations: 0.5894 MB / 0.5991 GB, free: 54.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.6, allocations: 0 / 0.5991 GB, free: 54.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00202/0.602, allocations: 0.5341 MB / 0.5996 GB, free: 54.65 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008425/0.6029, allocations: 338.6 kB / 0.6 GB, free: 54.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003513/0.6064, allocations: 0.8408 MB / 0.6008 GB, free: 54.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.947e-06/0.6065, allocations: 4.094 kB / 0.6008 GB, free: 54.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009199/0.6074, allocations: 230.8 kB / 0.601 GB, free: 54.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003045/0.6105, allocations: 484.4 kB / 0.6015 GB, free: 54.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.6138, allocations: 1.769 MB / 0.6032 GB, free: 53.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.6145, allocations: 1.048 MB / 0.6042 GB, free: 52.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001606/0.6161, allocations: 215.8 kB / 0.6044 GB, free: 52.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.6164, allocations: 80.78 kB / 0.6045 GB, free: 52.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.601e-06/0.6164, allocations: 0 / 0.6045 GB, free: 52.4 MB / 426.7 MB Notification: Performance of Templates: time 0.05272/0.6691, allocations: 23.74 MB / 0.6277 GB, free: 38.57 MB / 426.7 MB