Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_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.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_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.01013/0.01013, allocations: 166.5 kB / 15.11 MB, free: 5.973 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.821/1.821, 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.002052/0.002052, allocations: 107.3 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.5289/0.5289, allocations: 38.06 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005129/0.000513, allocations: 8 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1099, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.859/7.969, allocations: 2.473 GB / 2.875 GB, free: 50.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/7.969, allocations: 78.45 kB / 2.875 GB, free: 50.76 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.19/9.159, allocations: 211.7 MB / 3.082 GB, free: 29.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.675e-06/9.159, allocations: 4 kB / 3.082 GB, free: 29.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/9.159, allocations: 4 kB / 3.082 GB, free: 29.62 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.008531/9.168, allocations: 1.715 MB / 3.083 GB, free: 27.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/9.168, allocations: 8.031 kB / 3.083 GB, free: 27.85 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000156/9.168, allocations: 74.47 kB / 3.083 GB, free: 27.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/9.17, allocations: 187.5 kB / 3.084 GB, free: 27.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/9.171, allocations: 282.5 kB / 3.084 GB, free: 27.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/9.171, allocations: 20.66 kB / 3.084 GB, free: 27.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/9.171, allocations: 28 kB / 3.084 GB, free: 27.22 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/9.174, allocations: 0.7379 MB / 3.085 GB, free: 26.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/9.174, allocations: 0 / 3.085 GB, free: 26.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.288e-05/9.174, allocations: 18.25 kB / 3.085 GB, free: 26.42 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/9.174, allocations: 20.27 kB / 3.085 GB, free: 26.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002974/9.177, allocations: 0.802 MB / 3.085 GB, free: 25.6 MB / 442.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.004923/9.182, allocations: 2.895 MB / 3.088 GB, free: 22.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/9.184, allocations: 342.3 kB / 3.089 GB, free: 22.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013/10.2, allocations: 139.5 MB / 3.225 GB, free: 41.57 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00336/10.2, allocations: 438.4 kB / 3.225 GB, free: 41.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 7.424e-06/10.2, allocations: 0 / 3.225 GB, free: 41.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.007834/10.21, allocations: 1.096 MB / 3.226 GB, free: 41.16 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002117/10.21, allocations: 371.8 kB / 3.227 GB, free: 40.72 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/10.21, allocations: 174 kB / 3.227 GB, free: 40.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.939e-05/10.21, allocations: 30.27 kB / 3.227 GB, free: 40.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/10.21, allocations: 194.9 kB / 3.227 GB, free: 40.45 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/10.21, allocations: 112.6 kB / 3.227 GB, free: 40.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/10.21, allocations: 7.062 kB / 3.227 GB, free: 40.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/10.21, allocations: 328.3 kB / 3.227 GB, free: 40.09 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/10.21, allocations: 76.56 kB / 3.228 GB, free: 40.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/10.21, allocations: 352.7 kB / 3.228 GB, free: 39.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/10.21, allocations: 128.6 kB / 3.228 GB, free: 39.72 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/10.21, allocations: 3.938 kB / 3.228 GB, free: 39.72 MB / 474.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001158/10.21, allocations: 456.4 kB / 3.228 GB, free: 39.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/10.21, allocations: 7.938 kB / 3.228 GB, free: 39.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/10.21, allocations: 7.906 kB / 3.228 GB, free: 39.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/10.21, allocations: 24.08 kB / 3.229 GB, free: 39.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/10.21, allocations: 195.6 kB / 3.229 GB, free: 39.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008279/10.22, allocations: 1.185 MB / 3.23 GB, free: 38.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005866/10.22, allocations: 27.5 kB / 3.23 GB, free: 38.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.332e-05/10.22, allocations: 44.06 kB / 3.23 GB, free: 38.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * 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.000286/10.22, allocations: 164.6 kB / 3.23 GB, free: 38.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/10.22, allocations: 26.44 kB / 3.23 GB, free: 38.37 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003841/10.22, allocations: 2.832 MB / 3.233 GB, free: 38.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.149e-05/10.22, allocations: 20.55 kB / 3.233 GB, free: 38.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/10.22, allocations: 5.531 kB / 3.233 GB, free: 38.05 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-05/10.22, allocations: 7.156 kB / 3.233 GB, free: 38.05 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/10.22, allocations: 0.9633 MB / 3.234 GB, free: 37.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/10.22, allocations: 8.328 kB / 3.234 GB, free: 37.81 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/10.22, allocations: 100.7 kB / 3.234 GB, free: 37.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003256/10.22, allocations: 168.2 kB / 3.234 GB, free: 37.79 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/10.22, allocations: 7.281 kB / 3.234 GB, free: 37.79 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005021/10.22, allocations: 0.6429 MB / 3.235 GB, free: 37.26 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.361e-06/10.22, allocations: 6 kB / 3.235 GB, free: 37.26 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/10.23, allocations: 1.105 MB / 3.236 GB, free: 36.78 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004451/10.23, allocations: 354.5 kB / 3.236 GB, free: 36.63 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/10.23, allocations: 10.53 kB / 3.236 GB, free: 36.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/10.23, allocations: 22.39 kB / 3.236 GB, free: 36.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/10.23, allocations: 34.81 kB / 3.236 GB, free: 36.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/10.23, allocations: 15.41 kB / 3.236 GB, free: 36.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007626/10.23, allocations: 467.4 kB / 3.237 GB, free: 36.53 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/10.23, allocations: 0 / 3.237 GB, free: 36.53 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007765/10.24, allocations: 1.619 MB / 3.238 GB, free: 35.71 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 11 ($cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01721/10.25, allocations: 4.243 MB / 3.242 GB, free: 32.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002232/10.25, allocations: 0.5252 MB / 3.243 GB, free: 31.81 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/10.25, allocations: 1.125 kB / 3.243 GB, free: 31.81 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00069/10.26, allocations: 360 kB / 3.243 GB, free: 31.63 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/10.26, allocations: 134.4 kB / 3.243 GB, free: 31.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.995/13.25, allocations: 0.5546 GB / 3.798 GB, free: 66.78 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007491/13.25, allocations: 1.002 MB / 3.799 GB, free: 66.08 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001817/13.25, allocations: 495.4 kB / 3.799 GB, free: 66.08 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007466/13.26, allocations: 312 kB / 3.8 GB, free: 66.07 MB / 474.7 MB Notification: Performance of SimCode: time 1.402e-06/13.26, allocations: 0 / 3.8 GB, free: 66.07 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2118/13.47, allocations: 48.24 MB / 3.847 GB, free: 65.37 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/13.47, allocations: 233 kB / 3.847 GB, free: 65.13 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.886/18.35, allocations: 0 / 3.847 GB, free: 65.13 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat