Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.NewFittings.Orifices.ThickEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Orifices_ThickEdgedOrifice",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.01039/0.01039, allocations: 176.2 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.946/1.946, allocations: 194.5 MB / 210.3 MB, free: 8.59 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.002021/0.002021, allocations: 116.6 kB / 255.6 MB, free: 11.21 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.2668/0.2668, allocations: 40.02 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004777, allocations: 12.03 kB / 406.3 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1027, allocations: 54.88 MB / 461.2 MB, free: 3.281 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.822/1.924, allocations: 0.6082 GB / 1.059 GB, free: 27.48 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/1.925, allocations: 101.1 kB / 1.059 GB, free: 27.42 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12/3.045, allocations: 231.5 MB / 1.285 GB, free: 1.305 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.276e-06/3.045, allocations: 0 / 1.285 GB, free: 1.305 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.791e-05/3.045, allocations: 23.92 kB / 1.285 GB, free: 1.281 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.0029/3.048, allocations: 1.006 MB / 1.286 GB, free: 232 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/3.048, allocations: 11.97 kB / 1.286 GB, free: 220 kB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002038/3.048, allocations: 82.52 kB / 1.286 GB, free: 128 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3466/3.395, allocations: 141.6 kB / 1.286 GB, free: 93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/3.397, allocations: 0.528 MB / 1.286 GB, free: 92.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.731e-05/3.397, allocations: 32.59 kB / 1.286 GB, free: 92.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/3.397, allocations: 46.58 kB / 1.287 GB, free: 92.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/3.399, allocations: 0.5846 MB / 1.287 GB, free: 92.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/3.399, allocations: 4.406 kB / 1.287 GB, free: 92.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/3.399, allocations: 21.97 kB / 1.287 GB, free: 92.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/3.399, allocations: 10.09 kB / 1.287 GB, free: 92.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/3.401, allocations: 495.8 kB / 1.288 GB, free: 92.66 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.004412/3.405, allocations: 2.601 MB / 1.29 GB, free: 90.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/3.406, allocations: 325.4 kB / 1.29 GB, free: 90.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004603/3.407, allocations: 329.5 kB / 1.291 GB, free: 90.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/3.407, allocations: 37.42 kB / 1.291 GB, free: 90.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/3.407, allocations: 0 / 1.291 GB, free: 90.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.00266/3.41, allocations: 0.6912 MB / 1.291 GB, free: 90.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.1e-05/3.41, allocations: 136.2 kB / 1.292 GB, free: 90.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007466/3.41, allocations: 387.4 kB / 1.292 GB, free: 90.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/3.411, allocations: 31.08 kB / 1.292 GB, free: 90.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000271/3.411, allocations: 297.6 kB / 1.292 GB, free: 89.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/3.411, allocations: 122.9 kB / 1.292 GB, free: 89.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/3.411, allocations: 9.469 kB / 1.292 GB, free: 89.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/3.411, allocations: 362.2 kB / 1.293 GB, free: 89.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006596/3.412, allocations: 191.5 kB / 1.293 GB, free: 89.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000803/3.413, allocations: 359 kB / 1.293 GB, free: 89.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/3.414, allocations: 235.1 kB / 1.294 GB, free: 89.38 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/3.414, allocations: 2.125 kB / 1.294 GB, free: 89.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.005098/3.419, allocations: 0.6658 MB / 1.294 GB, free: 89.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/3.419, allocations: 10.38 kB / 1.294 GB, free: 89.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/3.42, allocations: 4.969 kB / 1.294 GB, free: 89.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004175/3.424, allocations: 239.5 kB / 1.294 GB, free: 89.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/3.426, allocations: 153.8 kB / 1.295 GB, free: 89.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/3.437, allocations: 28.73 MB / 1.323 GB, free: 59.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009214/3.438, allocations: 72.45 kB / 1.323 GB, free: 59.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001489/3.438, allocations: 50.84 kB / 1.323 GB, free: 59.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (63): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004791/3.438, allocations: 188.8 kB / 1.323 GB, free: 59.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/3.439, allocations: 53.05 kB / 1.323 GB, free: 59.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/3.441, allocations: 0.6739 MB / 1.324 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/3.441, allocations: 6.062 kB / 1.324 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/3.441, allocations: 0 / 1.324 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/3.441, allocations: 9.016 kB / 1.324 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002901/3.444, allocations: 1.172 MB / 1.325 GB, free: 59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/3.444, allocations: 7.766 kB / 1.325 GB, free: 59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/3.445, allocations: 62.34 kB / 1.325 GB, free: 59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002162/3.447, allocations: 231.6 kB / 1.325 GB, free: 58.99 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.219e-05/3.447, allocations: 13.89 kB / 1.325 GB, free: 58.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005165/3.448, allocations: 0.5934 MB / 1.326 GB, free: 58.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/3.448, allocations: 1.344 kB / 1.326 GB, free: 58.47 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/3.449, allocations: 0.599 MB / 1.326 GB, free: 58.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/3.449, allocations: 146.8 kB / 1.326 GB, free: 58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/3.45, allocations: 7.188 kB / 1.326 GB, free: 58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/3.45, allocations: 32.94 kB / 1.326 GB, free: 58 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/3.45, allocations: 28.38 kB / 1.326 GB, free: 58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/3.45, allocations: 20.58 kB / 1.326 GB, free: 58 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005919/3.451, allocations: 326 kB / 1.327 GB, free: 57.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.61e-07/3.451, allocations: 2.094 kB / 1.327 GB, free: 57.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002832/3.454, allocations: 431.9 kB / 1.327 GB, free: 57.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004983/3.459, allocations: 2.674 MB / 1.33 GB, free: 56.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001761/3.461, allocations: 432.3 kB / 1.33 GB, free: 56.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/3.461, allocations: 1.406 kB / 1.33 GB, free: 56.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000589/3.461, allocations: 162.7 kB / 1.33 GB, free: 56.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/3.463, allocations: 237.8 kB / 1.331 GB, free: 56.49 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/3.478, allocations: 6.905 MB / 1.337 GB, free: 52.26 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/3.478, allocations: 0.8658 MB / 1.338 GB, free: 51.55 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001433/3.48, allocations: 199.6 kB / 1.338 GB, free: 51.55 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005817/3.481, allocations: 210 kB / 1.339 GB, free: 51.54 MB / 490.7 MB Notification: Performance of SimCode: time 1.202e-06/3.481, allocations: 0 / 1.339 GB, free: 51.54 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08324/3.564, allocations: 31.53 MB / 1.369 GB, free: 50.39 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002899/3.564, allocations: 281 kB / 1.37 GB, free: 50.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.986/7.551, allocations: 4 kB / 1.37 GB, free: 50.02 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat does not exist to compare? outputFormat=mat