Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.009595/0.009595, allocations: 165.7 kB / 15.11 MB, free: 6.043 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.764/1.764, allocations: 170.8 MB / 186.6 MB, free: 1.055 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.002047/0.002047, allocations: 103.4 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.5669/0.5669, allocations: 38.05 MB / 303.7 MB, free: 42.73 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004947, allocations: 8 kB / 363 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1127, allocations: 48.71 MB / 411.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.088/2.201, allocations: 0.636 GB / 1.038 GB, free: 17.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/2.201, allocations: 81.7 kB / 1.038 GB, free: 17.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6689/2.87, allocations: 111.3 MB / 1.147 GB, free: 81.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.336e-06/2.87, allocations: 0 / 1.147 GB, free: 81.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/2.87, allocations: 3.938 kB / 1.147 GB, free: 81.39 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003769/2.874, allocations: 1.057 MB / 1.148 GB, free: 80.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/2.874, allocations: 8.031 kB / 1.148 GB, free: 80.28 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.468e-05/2.874, allocations: 70.53 kB / 1.148 GB, free: 80.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007648/2.875, allocations: 71.66 kB / 1.148 GB, free: 80.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/2.875, allocations: 254 kB / 1.148 GB, free: 79.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/2.875, allocations: 20.56 kB / 1.148 GB, free: 79.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/2.875, allocations: 24 kB / 1.148 GB, free: 79.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/2.877, allocations: 481.4 kB / 1.149 GB, free: 79.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/2.877, allocations: 0 / 1.149 GB, free: 79.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/2.877, allocations: 12 kB / 1.149 GB, free: 79.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/2.877, allocations: 8 kB / 1.149 GB, free: 79.28 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/2.878, allocations: 0.6783 MB / 1.149 GB, free: 78.6 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.01243/2.891, allocations: 4.186 MB / 1.154 GB, free: 74.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008602/2.892, allocations: 213.1 kB / 1.154 GB, free: 74 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1299/3.021, allocations: 39.82 MB / 1.193 GB, free: 30.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007837/3.022, allocations: 322.4 kB / 1.193 GB, free: 30.13 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.407e-06/3.022, allocations: 0 / 1.193 GB, free: 30.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.003288/3.026, allocations: 0.7847 MB / 1.194 GB, free: 29.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/3.026, allocations: 427.2 kB / 1.194 GB, free: 28.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/3.026, allocations: 147.2 kB / 1.194 GB, free: 28.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/3.026, allocations: 38.08 kB / 1.194 GB, free: 28.63 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/3.026, allocations: 175.8 kB / 1.194 GB, free: 28.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.373e-05/3.026, allocations: 114.4 kB / 1.195 GB, free: 28.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/3.026, allocations: 8 kB / 1.195 GB, free: 28.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.645e-05/3.026, allocations: 330.8 kB / 1.195 GB, free: 28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/3.026, allocations: 65.08 kB / 1.195 GB, free: 27.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/3.027, allocations: 302.8 kB / 1.195 GB, free: 27.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/3.027, allocations: 111.9 kB / 1.195 GB, free: 27.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/3.027, allocations: 4 kB / 1.195 GB, free: 27.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000914/3.028, allocations: 396.6 kB / 1.196 GB, free: 27.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/3.028, allocations: 9 kB / 1.196 GB, free: 27.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/3.028, allocations: 8 kB / 1.196 GB, free: 27.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.538e-05/3.028, allocations: 23.94 kB / 1.196 GB, free: 26.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003221/3.031, allocations: 259.6 kB / 1.196 GB, free: 26.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005293/3.032, allocations: 1.176 MB / 1.197 GB, free: 25.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/3.032, allocations: 23.84 kB / 1.197 GB, free: 25.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/3.032, allocations: 28 kB / 1.197 GB, free: 25.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002206/3.033, allocations: 166.6 kB / 1.197 GB, free: 25.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/3.033, allocations: 23.81 kB / 1.197 GB, free: 25.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/3.035, allocations: 0.9986 MB / 1.198 GB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/3.035, allocations: 4 kB / 1.198 GB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/3.035, allocations: 4 kB / 1.198 GB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/3.035, allocations: 7.984 kB / 1.198 GB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04185/3.076, allocations: 12.3 MB / 1.21 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/3.077, allocations: 4 kB / 1.21 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/3.078, allocations: 135.9 kB / 1.211 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/3.078, allocations: 7.953 kB / 1.211 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/3.078, allocations: 4 kB / 1.211 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002525/3.078, allocations: 0.5859 MB / 1.211 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/3.078, allocations: 4.031 kB / 1.211 GB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007724/3.079, allocations: 0.6278 MB / 1.212 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/3.079, allocations: 188.2 kB / 1.212 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.42e-05/3.079, allocations: 4 kB / 1.212 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/3.08, allocations: 27.94 kB / 1.212 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/3.08, allocations: 15.98 kB / 1.212 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-05/3.08, allocations: 15.98 kB / 1.212 GB, free: 9.027 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002676/3.08, allocations: 211.2 kB / 1.212 GB, free: 8.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/3.08, allocations: 3.938 kB / 1.212 GB, free: 8.816 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002232/3.083, allocations: 475.4 kB / 1.213 GB, free: 8.352 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003898/3.086, allocations: 2.447 MB / 1.215 GB, free: 5.824 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001986/3.088, allocations: 397.8 kB / 1.215 GB, free: 5.438 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/3.088, allocations: 0 / 1.215 GB, free: 5.438 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/3.089, allocations: 242.8 kB / 1.216 GB, free: 5.203 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008625/3.09, allocations: 82.39 kB / 1.216 GB, free: 5.121 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.991/6.081, allocations: 0.6862 GB / 1.902 GB, free: 75.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/6.081, allocations: 0.8229 MB / 1.903 GB, free: 75.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007233/6.082, allocations: 151 kB / 1.903 GB, free: 75.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/6.082, allocations: 139 kB / 1.903 GB, free: 75.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/6.082, allocations: 0 / 1.903 GB, free: 75.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05657/6.139, allocations: 18.51 MB / 1.921 GB, free: 73.86 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/6.139, allocations: 240.8 kB / 1.921 GB, free: 73.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.924/10.06, allocations: 0 / 1.921 GB, free: 73.61 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat