Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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_ph,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.01008/0.01008, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.732/1.732, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.002026/0.002026, allocations: 95.41 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.4735/0.4735, allocations: 38.05 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007246/0.0007246, allocations: 12 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1157, allocations: 48.71 MB / 411.7 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.16/2.276, allocations: 0.636 GB / 1.038 GB, free: 17.06 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003845/2.276, allocations: 84.52 kB / 1.038 GB, free: 17.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6752/2.951, allocations: 111.3 MB / 1.147 GB, free: 81.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.375e-06/2.952, allocations: 0 / 1.147 GB, free: 81.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/2.952, allocations: 4 kB / 1.147 GB, free: 81.38 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.004157/2.956, allocations: 1.049 MB / 1.148 GB, free: 80.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/2.956, allocations: 12.03 kB / 1.148 GB, free: 80.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001495/2.956, allocations: 62.53 kB / 1.148 GB, free: 80.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008071/2.957, allocations: 79.59 kB / 1.148 GB, free: 80.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/2.957, allocations: 246 kB / 1.148 GB, free: 79.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/2.957, allocations: 20.56 kB / 1.148 GB, free: 79.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/2.957, allocations: 24 kB / 1.148 GB, free: 79.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/2.959, allocations: 481.5 kB / 1.149 GB, free: 79.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/2.959, allocations: 3.938 kB / 1.149 GB, free: 79.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-05/2.959, allocations: 19.98 kB / 1.149 GB, free: 79.28 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/2.959, allocations: 8 kB / 1.149 GB, free: 79.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/2.96, allocations: 0.6783 MB / 1.149 GB, free: 78.59 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.01408/2.974, allocations: 5.365 MB / 1.155 GB, free: 72.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/2.975, allocations: 161 kB / 1.155 GB, free: 72.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07529/3.05, allocations: 25.61 MB / 1.18 GB, free: 44.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007613/3.051, allocations: 286 kB / 1.18 GB, free: 43.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 3.456e-06/3.051, allocations: 0 / 1.18 GB, free: 43.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.001635/3.053, allocations: 398.3 kB / 1.181 GB, free: 43.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/3.053, allocations: 435.2 kB / 1.181 GB, free: 42.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/3.053, allocations: 173.7 kB / 1.181 GB, free: 42.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/3.053, allocations: 29.7 kB / 1.181 GB, free: 42.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.752e-05/3.053, allocations: 191.5 kB / 1.181 GB, free: 42.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.361e-05/3.053, allocations: 94.73 kB / 1.181 GB, free: 42.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.82e-05/3.053, allocations: 8 kB / 1.181 GB, free: 42.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.614e-05/3.054, allocations: 326.8 kB / 1.182 GB, free: 41.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/3.054, allocations: 64.83 kB / 1.182 GB, free: 41.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/3.054, allocations: 306.7 kB / 1.182 GB, free: 41.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/3.054, allocations: 111.9 kB / 1.182 GB, free: 41.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/3.054, allocations: 0 / 1.182 GB, free: 41.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009137/3.055, allocations: 393.9 kB / 1.183 GB, free: 40.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/3.055, allocations: 8 kB / 1.183 GB, free: 40.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/3.055, allocations: 8 kB / 1.183 GB, free: 40.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/3.055, allocations: 12 kB / 1.183 GB, free: 40.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/3.056, allocations: 111.8 kB / 1.183 GB, free: 40.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/3.056, allocations: 15.94 kB / 1.183 GB, free: 40.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004284/3.056, allocations: 55.38 kB / 1.183 GB, free: 40.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.606e-05/3.056, allocations: 31.94 kB / 1.183 GB, free: 40.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (54): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000197/3.057, allocations: 170.7 kB / 1.183 GB, free: 40.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/3.057, allocations: 23.81 kB / 1.183 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/3.058, allocations: 0.8114 MB / 1.184 GB, free: 39.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/3.058, allocations: 11.97 kB / 1.184 GB, free: 39.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/3.058, allocations: 4 kB / 1.184 GB, free: 39.67 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/3.058, allocations: 0 / 1.184 GB, free: 39.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04286/3.101, allocations: 12.1 MB / 1.196 GB, free: 26.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/3.101, allocations: 4 kB / 1.196 GB, free: 26.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/3.102, allocations: 27.92 kB / 1.196 GB, free: 26.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/3.102, allocations: 4 kB / 1.196 GB, free: 26.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/3.102, allocations: 8 kB / 1.196 GB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/3.102, allocations: 7.953 kB / 1.196 GB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/3.102, allocations: 3.938 kB / 1.196 GB, free: 26.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005758/3.102, allocations: 489.8 kB / 1.196 GB, free: 25.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/3.102, allocations: 196.2 kB / 1.196 GB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.565e-05/3.102, allocations: 8 kB / 1.196 GB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/3.103, allocations: 15.98 kB / 1.196 GB, free: 25.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/3.103, allocations: 19.92 kB / 1.196 GB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/3.103, allocations: 4 kB / 1.196 GB, free: 25.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003253/3.103, allocations: 231.2 kB / 1.197 GB, free: 25.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/3.103, allocations: 0 / 1.197 GB, free: 25.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002373/3.106, allocations: 435.4 kB / 1.197 GB, free: 24.89 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 (18): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004102/3.11, allocations: 2.244 MB / 1.199 GB, free: 22.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006399/3.11, allocations: 237.6 kB / 1.199 GB, free: 22.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/3.111, allocations: 8.125 kB / 1.199 GB, free: 22.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/3.111, allocations: 111.8 kB / 1.2 GB, free: 22.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007998/3.112, allocations: 78.17 kB / 1.2 GB, free: 22.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.111/6.222, allocations: 0.741 GB / 1.941 GB, free: 59.73 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/6.223, allocations: 0.8071 MB / 1.941 GB, free: 58.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007123/6.223, allocations: 158.6 kB / 1.942 GB, free: 58.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/6.224, allocations: 120.7 kB / 1.942 GB, free: 58.84 MB / 426.7 MB Notification: Performance of SimCode: time 3.236e-06/6.224, allocations: 0 / 1.942 GB, free: 58.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06208/6.286, allocations: 16.95 MB / 1.958 GB, free: 46.51 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/6.286, allocations: 210.8 kB / 1.958 GB, free: 46.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.513/9.799, allocations: 0 / 1.958 GB, free: 46.27 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat