Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01003/0.01003, allocations: 166.5 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.657/1.657, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001963/0.001962, allocations: 107 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.447/0.447, allocations: 38.04 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004916, allocations: 12 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1105, allocations: 48.7 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.164, allocations: 340 MB / 0.7341 GB, free: 7.375 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/1.164, allocations: 92.53 kB / 0.7342 GB, free: 7.324 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.745/2.909, allocations: 303.6 MB / 1.031 GB, free: 37.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.554e-06/2.909, allocations: 0 / 1.031 GB, free: 37.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002529/2.909, allocations: 47.88 kB / 1.031 GB, free: 37.54 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01195/2.921, allocations: 2.281 MB / 1.033 GB, free: 35.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/2.921, allocations: 8.031 kB / 1.033 GB, free: 35.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009595/2.922, allocations: 185.2 kB / 1.033 GB, free: 35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/2.924, allocations: 207.1 kB / 1.033 GB, free: 34.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004698/2.928, allocations: 1.274 MB / 1.035 GB, free: 33.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002207/2.929, allocations: 183.2 kB / 1.035 GB, free: 33.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005053/2.929, allocations: 112 kB / 1.035 GB, free: 33.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00538/2.934, allocations: 1.972 MB / 1.037 GB, free: 31.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.458e-05/2.935, allocations: 3.938 kB / 1.037 GB, free: 31.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003151/2.935, allocations: 51.97 kB / 1.037 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002379/2.935, allocations: 114.2 kB / 1.037 GB, free: 30.93 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005469/2.941, allocations: 1.957 MB / 1.039 GB, free: 28.97 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.01927/2.96, allocations: 7.025 MB / 1.046 GB, free: 21.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003259/2.963, allocations: 1.344 MB / 1.047 GB, free: 20.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009368/2.973, allocations: 4.459 MB / 1.051 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/2.973, allocations: 54.86 kB / 1.051 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001559/2.974, allocations: 218.5 kB / 1.052 GB, free: 15.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 4.438e-06/2.974, allocations: 4 kB / 1.052 GB, free: 15.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.03364/3.008, allocations: 6.39 MB / 1.058 GB, free: 8.672 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.033e-05/3.008, allocations: 222.9 kB / 1.058 GB, free: 8.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/3.011, allocations: 1.208 MB / 1.059 GB, free: 7.188 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004924/3.011, allocations: 45.7 kB / 1.059 GB, free: 7.137 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005733/3.012, allocations: 0.6575 MB / 1.06 GB, free: 6.473 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006243/3.012, allocations: 457.4 kB / 1.06 GB, free: 6.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/3.013, allocations: 32 kB / 1.06 GB, free: 5.988 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/3.013, allocations: 369.9 kB / 1.061 GB, free: 5.621 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/3.015, allocations: 0.7652 MB / 1.062 GB, free: 4.855 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002398/3.017, allocations: 1.094 MB / 1.063 GB, free: 3.641 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002587/3.02, allocations: 0.8886 MB / 1.063 GB, free: 2.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/3.02, allocations: 0 / 1.063 GB, free: 2.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.007426/3.027, allocations: 2.449 MB / 1.066 GB, free: 296 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001451/3.029, allocations: 3.025 MB / 1.069 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.299e-05/3.029, allocations: 8 kB / 1.069 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01443/3.043, allocations: 1.501 MB / 1.07 GB, free: 11.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002858/3.046, allocations: 327.5 kB / 1.071 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005857/3.052, allocations: 1.699 MB / 1.072 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003228/3.056, allocations: 107.8 kB / 1.072 GB, free: 9.426 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000448/3.056, allocations: 76.05 kB / 1.072 GB, free: 9.352 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/3.056, allocations: 7.938 kB / 1.072 GB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006988/3.063, allocations: 2.035 MB / 1.074 GB, free: 7.305 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.677e-05/3.063, allocations: 11.98 kB / 1.074 GB, free: 7.293 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/3.073, allocations: 0.9386 MB / 1.075 GB, free: 6.352 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/3.076, allocations: 339.5 kB / 1.076 GB, free: 6.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003094/3.079, allocations: 1.282 MB / 1.077 GB, free: 4.711 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/3.082, allocations: 103.8 kB / 1.077 GB, free: 4.609 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002464/3.082, allocations: 71.95 kB / 1.077 GB, free: 4.539 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 23} Notification: Performance of prepare postOptimizeDAE: time 0.0015/3.084, allocations: 494.1 kB / 1.078 GB, free: 4.047 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005209/3.084, allocations: 169.9 kB / 1.078 GB, free: 3.879 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008847/3.093, allocations: 2.529 MB / 1.08 GB, free: 1.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.964e-05/3.093, allocations: 16 kB / 1.08 GB, free: 1.324 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/3.093, allocations: 7.938 kB / 1.08 GB, free: 1.316 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/3.093, allocations: 7.969 kB / 1.08 GB, free: 1.309 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.353/3.446, allocations: 4.071 MB / 1.084 GB, free: 60.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/3.446, allocations: 0.6562 kB / 1.084 GB, free: 60.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002182/3.449, allocations: 228.9 kB / 1.084 GB, free: 60.23 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008448/3.457, allocations: 1.236 MB / 1.086 GB, free: 60.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004057/3.457, allocations: 40.19 kB / 1.086 GB, free: 60.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003923/3.461, allocations: 1.757 MB / 1.087 GB, free: 59.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/3.461, allocations: 0 / 1.087 GB, free: 59.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009021/3.47, allocations: 3.358 MB / 1.091 GB, free: 59.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/3.472, allocations: 459.5 kB / 1.091 GB, free: 59.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/3.473, allocations: 33.88 kB / 1.091 GB, free: 59.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/3.475, allocations: 108.2 kB / 1.091 GB, free: 59.4 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004017/3.475, allocations: 116.8 kB / 1.091 GB, free: 59.4 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002258/3.476, allocations: 58.8 kB / 1.091 GB, free: 59.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002003/3.478, allocations: 0.9126 MB / 1.092 GB, free: 59.29 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/3.478, allocations: 1.812 kB / 1.092 GB, free: 59.29 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006355/3.484, allocations: 1.433 MB / 1.094 GB, free: 59.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.01505/3.499, allocations: 5.041 MB / 1.099 GB, free: 58.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01473/3.514, allocations: 3.093 MB / 1.102 GB, free: 58.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/3.514, allocations: 0 / 1.102 GB, free: 58.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004771/3.519, allocations: 1.022 MB / 1.103 GB, free: 58.42 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007605/3.526, allocations: 0.6795 MB / 1.103 GB, free: 58.41 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/3.546, allocations: 10.56 MB / 1.114 GB, free: 51.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/3.548, allocations: 1.416 MB / 1.115 GB, free: 50.51 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005152/3.553, allocations: 0.6165 MB / 1.116 GB, free: 50.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002088/3.555, allocations: 0.6342 MB / 1.116 GB, free: 50.48 MB / 442.7 MB Notification: Performance of SimCode: time 1.392e-06/3.555, allocations: 0 / 1.116 GB, free: 50.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1586/3.714, allocations: 62.59 MB / 1.177 GB, free: 46.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000258/3.714, allocations: 225.4 kB / 1.178 GB, free: 46.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.362/9.077, allocations: 0 / 1.178 GB, free: 46.45 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat