Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01398/0.01398, allocations: 173.6 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.978/1.978, allocations: 194.5 MB / 210.3 MB, free: 7.805 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002063/0.002063, allocations: 112.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2766/0.2766, allocations: 40 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005018/0.0005019, allocations: 11.5 kB / 406.3 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1056, allocations: 54.88 MB / 461.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.133/1.239, allocations: 346.3 MB / 0.7885 GB, free: 107.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/1.239, allocations: 87.19 kB / 0.7886 GB, free: 107.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402/2.641, allocations: 303.6 MB / 1.085 GB, free: 11.83 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.404e-06/2.641, allocations: 0 / 1.085 GB, free: 11.83 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002031/2.641, allocations: 43.98 kB / 1.085 GB, free: 11.79 MB / 490.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.009655/2.651, allocations: 2.286 MB / 1.087 GB, free: 9.445 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/2.651, allocations: 8.031 kB / 1.087 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009334/2.652, allocations: 181.2 kB / 1.088 GB, free: 9.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009885/2.653, allocations: 205.7 kB / 1.088 GB, free: 9.047 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004507/2.657, allocations: 1.267 MB / 1.089 GB, free: 7.723 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/2.657, allocations: 187.2 kB / 1.089 GB, free: 7.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003932/2.658, allocations: 119.9 kB / 1.089 GB, free: 7.402 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005025/2.663, allocations: 1.958 MB / 1.091 GB, free: 5.355 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.609e-05/2.663, allocations: 0 / 1.091 GB, free: 5.355 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002616/2.663, allocations: 51.95 kB / 1.091 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002264/2.664, allocations: 122.2 kB / 1.091 GB, free: 5.184 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005319/2.669, allocations: 1.945 MB / 1.093 GB, free: 3.23 MB / 490.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.3749/3.044, allocations: 7.011 MB / 1.1 GB, free: 61.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004434/3.048, allocations: 1.356 MB / 1.101 GB, free: 61.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01039/3.059, allocations: 4.451 MB / 1.106 GB, free: 58.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.206e-05/3.059, allocations: 51.88 kB / 1.106 GB, free: 58.93 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001724/3.061, allocations: 213.8 kB / 1.106 GB, free: 58.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=117): time 4.869e-06/3.061, allocations: 0 / 1.106 GB, free: 58.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.03614/3.097, allocations: 6.394 MB / 1.112 GB, free: 58.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/3.097, allocations: 224.6 kB / 1.112 GB, free: 57.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00309/3.1, allocations: 1.208 MB / 1.114 GB, free: 57.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006117/3.101, allocations: 50.14 kB / 1.114 GB, free: 57.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007518/3.101, allocations: 0.655 MB / 1.114 GB, free: 57.61 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008904/3.102, allocations: 452.1 kB / 1.115 GB, free: 57.38 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/3.103, allocations: 31.03 kB / 1.115 GB, free: 57.38 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000154/3.103, allocations: 374.3 kB / 1.115 GB, free: 57.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002838/3.106, allocations: 0.766 MB / 1.116 GB, free: 57.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003315/3.109, allocations: 1.089 MB / 1.117 GB, free: 56.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002965/3.112, allocations: 0.8952 MB / 1.118 GB, free: 56.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-05/3.112, allocations: 3.953 kB / 1.118 GB, free: 56.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.007839/3.12, allocations: 2.449 MB / 1.12 GB, free: 56.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000823/3.121, allocations: 3.026 MB / 1.123 GB, free: 53.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-05/3.121, allocations: 12.28 kB / 1.123 GB, free: 53.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01375/3.135, allocations: 1.495 MB / 1.125 GB, free: 53.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003013/3.138, allocations: 332.9 kB / 1.125 GB, free: 53.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004683/3.143, allocations: 1.7 MB / 1.127 GB, free: 52.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003225/3.146, allocations: 112 kB / 1.127 GB, free: 52.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006194/3.146, allocations: 69.8 kB / 1.127 GB, free: 52.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/3.146, allocations: 6.625 kB / 1.127 GB, free: 52.91 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006428/3.153, allocations: 2.035 MB / 1.129 GB, free: 52.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.1e-05/3.153, allocations: 17.48 kB / 1.129 GB, free: 52.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009733/3.163, allocations: 0.936 MB / 1.13 GB, free: 52.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/3.166, allocations: 343 kB / 1.13 GB, free: 52.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/3.169, allocations: 1.282 MB / 1.131 GB, free: 52.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/3.171, allocations: 102.5 kB / 1.131 GB, free: 52.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003669/3.172, allocations: 71.22 kB / 1.131 GB, free: 52.33 MB / 490.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.001423/3.173, allocations: 485.1 kB / 1.132 GB, free: 52.14 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006122/3.174, allocations: 172.1 kB / 1.132 GB, free: 52.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008189/3.182, allocations: 2.524 MB / 1.135 GB, free: 51.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/3.182, allocations: 17.47 kB / 1.135 GB, free: 51.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/3.182, allocations: 6.031 kB / 1.135 GB, free: 51.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.054e-05/3.182, allocations: 10.34 kB / 1.135 GB, free: 51.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/3.193, allocations: 4.084 MB / 1.139 GB, free: 51.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/3.193, allocations: 0 / 1.139 GB, free: 51.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002052/3.195, allocations: 231.3 kB / 1.139 GB, free: 51.56 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007942/3.203, allocations: 1.233 MB / 1.14 GB, free: 51.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004005/3.203, allocations: 39.11 kB / 1.14 GB, free: 51.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003687/3.207, allocations: 1.761 MB / 1.142 GB, free: 50.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/3.207, allocations: 0 / 1.142 GB, free: 50.99 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008653/3.216, allocations: 3.359 MB / 1.145 GB, free: 50.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/3.218, allocations: 455.9 kB / 1.146 GB, free: 50.53 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005092/3.218, allocations: 31.19 kB / 1.146 GB, free: 50.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/3.22, allocations: 110.2 kB / 1.146 GB, free: 50.53 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003903/3.221, allocations: 116.1 kB / 1.146 GB, free: 50.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002205/3.221, allocations: 58.7 kB / 1.146 GB, free: 50.52 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001886/3.223, allocations: 0.9138 MB / 1.147 GB, free: 50.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.563e-06/3.223, allocations: 2.531 kB / 1.147 GB, free: 50.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005947/3.229, allocations: 1.426 MB / 1.148 GB, free: 50.41 MB / 490.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.01295/3.242, allocations: 5.04 MB / 1.153 GB, free: 49.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01141/3.253, allocations: 3.089 MB / 1.156 GB, free: 49.47 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/3.253, allocations: 3.562 kB / 1.156 GB, free: 49.47 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003711/3.257, allocations: 1.028 MB / 1.157 GB, free: 49.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005827/3.263, allocations: 0.6893 MB / 1.158 GB, free: 49.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/3.279, allocations: 10.56 MB / 1.168 GB, free: 42.24 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001055/3.28, allocations: 1.421 MB / 1.169 GB, free: 41.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003699/3.284, allocations: 0.6138 MB / 1.17 GB, free: 41.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/3.285, allocations: 0.633 MB / 1.171 GB, free: 41.49 MB / 490.7 MB Notification: Performance of SimCode: time 1.272e-06/3.285, allocations: 0 / 1.171 GB, free: 41.49 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1414/3.427, allocations: 62.58 MB / 1.232 GB, free: 32.36 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000264/3.427, allocations: 225.5 kB / 1.232 GB, free: 32.12 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.196/8.623, allocations: 4 kB / 1.232 GB, free: 32.11 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat