Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.29/2.29, allocations: 234.9 MB / 250.5 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.0004508, allocations: 23.98 kB / 314.5 MB, free: 9.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3517, allocations: 54.86 MB / 369.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.58/7.932, allocations: 2.584 GB / 2.944 GB, free: 125.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/7.933, allocations: 81.27 kB / 2.944 GB, free: 125.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.214/9.146, allocations: 215.4 MB / 3.155 GB, free: 85.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.004e-06/9.146, allocations: 0 / 3.155 GB, free: 85.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/9.146, allocations: 3.969 kB / 3.155 GB, free: 85.48 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.008407/9.155, allocations: 1.745 MB / 3.156 GB, free: 84.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/9.155, allocations: 14.31 kB / 3.156 GB, free: 84.52 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/9.155, allocations: 68.83 kB / 3.156 GB, free: 84.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/9.157, allocations: 192.9 kB / 3.157 GB, free: 84.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/9.157, allocations: 265.6 kB / 3.157 GB, free: 84.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/9.158, allocations: 26.39 kB / 3.157 GB, free: 84.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/9.158, allocations: 33.39 kB / 3.157 GB, free: 84.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002909/9.161, allocations: 0.7401 MB / 3.158 GB, free: 84.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/9.161, allocations: 7.312 kB / 3.158 GB, free: 84.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.055e-05/9.161, allocations: 14.81 kB / 3.158 GB, free: 84.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.224e-05/9.161, allocations: 11.16 kB / 3.158 GB, free: 84.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002916/9.164, allocations: 0.7993 MB / 3.158 GB, free: 84.09 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.00484/9.169, allocations: 2.905 MB / 3.161 GB, free: 82.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/9.17, allocations: 341.5 kB / 3.162 GB, free: 82.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003/10.17, allocations: 139.9 MB / 3.298 GB, free: 94.58 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/10.17, allocations: 432 kB / 3.299 GB, free: 94.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=31): time 3.677e-06/10.17, allocations: 0 / 3.299 GB, free: 94.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.005628/10.18, allocations: 1.106 MB / 3.3 GB, free: 94.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/10.18, allocations: 370.2 kB / 3.3 GB, free: 93.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/10.18, allocations: 174.1 kB / 3.3 GB, free: 93.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/10.18, allocations: 33.55 kB / 3.3 GB, free: 93.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/10.18, allocations: 253.5 kB / 3.301 GB, free: 93.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/10.18, allocations: 116.5 kB / 3.301 GB, free: 93.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/10.18, allocations: 11.53 kB / 3.301 GB, free: 93.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.178e-05/10.18, allocations: 334.1 kB / 3.301 GB, free: 93.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/10.18, allocations: 73.78 kB / 3.301 GB, free: 93.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/10.18, allocations: 338.5 kB / 3.301 GB, free: 92.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003351/10.18, allocations: 130.7 kB / 3.301 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/10.18, allocations: 7.719 kB / 3.301 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001127/10.18, allocations: 466.2 kB / 3.302 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/10.18, allocations: 9.25 kB / 3.302 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/10.18, allocations: 11.91 kB / 3.302 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/10.18, allocations: 11.88 kB / 3.302 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/10.19, allocations: 193.1 kB / 3.302 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005099/10.19, allocations: 1.194 MB / 3.303 GB, free: 91.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005581/10.19, allocations: 21 kB / 3.303 GB, free: 91.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/10.19, allocations: 45.33 kB / 3.303 GB, free: 91.5 MB / 0.4948 GB 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.0002688/10.19, allocations: 161.7 kB / 3.304 GB, free: 91.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.363e-05/10.19, allocations: 29.72 kB / 3.304 GB, free: 91.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/10.19, allocations: 2.843 MB / 3.306 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.491e-05/10.19, allocations: 22.06 kB / 3.306 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/10.19, allocations: 4.594 kB / 3.306 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/10.19, allocations: 7.844 kB / 3.306 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/10.19, allocations: 0.9674 MB / 3.307 GB, free: 90.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/10.19, allocations: 3.969 kB / 3.307 GB, free: 90.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/10.19, allocations: 99.08 kB / 3.307 GB, free: 90.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003245/10.19, allocations: 169.1 kB / 3.308 GB, free: 90.78 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/10.19, allocations: 9.312 kB / 3.308 GB, free: 90.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003934/10.19, allocations: 0.6436 MB / 3.308 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/10.19, allocations: 7.844 kB / 3.308 GB, free: 90.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/10.2, allocations: 1.099 MB / 3.309 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/10.2, allocations: 360.8 kB / 3.31 GB, free: 89.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/10.2, allocations: 8.594 kB / 3.31 GB, free: 89.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/10.2, allocations: 25.86 kB / 3.31 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/10.2, allocations: 30.55 kB / 3.31 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.054e-05/10.2, allocations: 17.88 kB / 3.31 GB, free: 89.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007443/10.2, allocations: 463.9 kB / 3.31 GB, free: 89.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/10.2, allocations: 0 / 3.31 GB, free: 89.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007793/10.21, allocations: 1.635 MB / 3.312 GB, free: 89.41 MB / 0.4948 GB 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.01668/10.22, allocations: 4.257 MB / 3.316 GB, free: 87.47 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002176/10.23, allocations: 0.5145 MB / 3.316 GB, free: 87.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/10.23, allocations: 0 / 3.316 GB, free: 87.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006246/10.23, allocations: 360 kB / 3.317 GB, free: 87.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/10.23, allocations: 119.7 kB / 3.317 GB, free: 87.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.423/12.65, allocations: 0.5734 GB / 3.89 GB, free: 90.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/12.65, allocations: 0.9994 MB / 3.891 GB, free: 89.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005514/12.65, allocations: 311.1 kB / 3.892 GB, free: 89.56 MB / 0.4948 GB Notification: Performance of SimCode: time 1.372e-06/12.65, allocations: 0.5625 kB / 3.892 GB, free: 89.56 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.845/16.5, allocations: 41.73 MB / 3.932 GB, free: 77.77 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat