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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.222/2.222, allocations: 235.1 MB / 243 MB, free: 9.602 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.14e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3427, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.045/8.388, allocations: 2.583 GB / 2.933 GB, free: 112.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/8.389, allocations: 79.05 kB / 2.933 GB, free: 112.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.213/9.602, allocations: 211.7 MB / 3.139 GB, free: 95.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.084e-06/9.602, allocations: 0 / 3.139 GB, free: 95.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.836e-05/9.602, allocations: 5.844 kB / 3.139 GB, free: 95.21 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.01061/9.613, allocations: 1.744 MB / 3.141 GB, free: 94.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.821e-05/9.613, allocations: 7.156 kB / 3.141 GB, free: 94.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/9.616, allocations: 184.9 kB / 3.141 GB, free: 94.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005401/9.617, allocations: 265.3 kB / 3.142 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/9.617, allocations: 20.02 kB / 3.142 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-05/9.617, allocations: 15.16 kB / 3.142 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001295/9.618, allocations: 476.1 kB / 3.142 GB, free: 94.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009176/9.619, allocations: 380.9 kB / 3.142 GB, free: 93.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/9.619, allocations: 0 / 3.142 GB, free: 93.94 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-05/9.619, allocations: 3.906 kB / 3.142 GB, free: 93.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/9.619, allocations: 7.75 kB / 3.142 GB, free: 93.94 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.6723/10.29, allocations: 127.8 MB / 3.267 GB, free: 18.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003608/10.29, allocations: 80.97 kB / 3.267 GB, free: 18.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/10.29, allocations: 28.08 kB / 3.267 GB, free: 18.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7105/11, allocations: 46.16 MB / 3.312 GB, free: 81.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/11, allocations: 114.7 kB / 3.312 GB, free: 81.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 2.975e-06/11, allocations: 1.078 kB / 3.312 GB, free: 81.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.003761/11.01, allocations: 0.5786 MB / 3.313 GB, free: 81.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/11.01, allocations: 79.86 kB / 3.313 GB, free: 81.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/11.01, allocations: 226.2 kB / 3.313 GB, free: 81.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/11.01, allocations: 28.98 kB / 3.313 GB, free: 81.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/11.01, allocations: 322.1 kB / 3.314 GB, free: 81.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/11.01, allocations: 48.36 kB / 3.314 GB, free: 81.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/11.01, allocations: 0 / 3.314 GB, free: 81.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.988e-05/11.01, allocations: 330.9 kB / 3.314 GB, free: 80.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/11.01, allocations: 66.38 kB / 3.314 GB, free: 80.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/11.01, allocations: 326.7 kB / 3.314 GB, free: 80.44 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/11.01, allocations: 203 kB / 3.315 GB, free: 80.44 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/11.01, allocations: 3.969 kB / 3.315 GB, free: 80.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002292/11.01, allocations: 490.7 kB / 3.315 GB, free: 80.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/11.01, allocations: 10.19 kB / 3.315 GB, free: 80.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/11.01, allocations: 10.89 kB / 3.315 GB, free: 80.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/11.01, allocations: 14.25 kB / 3.315 GB, free: 80.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001927/11.01, allocations: 216.2 kB / 3.315 GB, free: 80.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003076/11.01, allocations: 0.6066 MB / 3.316 GB, free: 79.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008706/11.01, allocations: 13.45 kB / 3.316 GB, free: 79.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.794e-05/11.02, allocations: 47.92 kB / 3.316 GB, free: 79.81 MB / 490.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001563/11.02, allocations: 129.9 kB / 3.316 GB, free: 79.7 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000861/11.02, allocations: 170.8 kB / 3.316 GB, free: 79.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/11.02, allocations: 21.31 kB / 3.316 GB, free: 79.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/11.02, allocations: 0.8003 MB / 3.317 GB, free: 79.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/11.02, allocations: 6.859 kB / 3.317 GB, free: 79.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/11.02, allocations: 1.875 kB / 3.317 GB, free: 79.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/11.02, allocations: 3.953 kB / 3.317 GB, free: 79.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000517/11.02, allocations: 419 kB / 3.317 GB, free: 79.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/11.02, allocations: 0 / 3.317 GB, free: 79.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007063/11.02, allocations: 52.52 kB / 3.318 GB, free: 79.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003584/11.02, allocations: 234 kB / 3.318 GB, free: 79.35 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/11.02, allocations: 5.312 kB / 3.318 GB, free: 79.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003887/11.02, allocations: 0.6559 MB / 3.318 GB, free: 78.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/11.02, allocations: 10.03 kB / 3.318 GB, free: 78.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008709/11.02, allocations: 0.5784 MB / 3.319 GB, free: 78.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/11.02, allocations: 143.4 kB / 3.319 GB, free: 78.57 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/11.02, allocations: 5.469 kB / 3.319 GB, free: 78.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/11.02, allocations: 6.891 kB / 3.319 GB, free: 78.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/11.02, allocations: 10.52 kB / 3.319 GB, free: 78.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/11.02, allocations: 11.67 kB / 3.319 GB, free: 78.57 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002779/11.02, allocations: 219.6 kB / 3.319 GB, free: 78.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.8e-07/11.02, allocations: 3.844 kB / 3.319 GB, free: 78.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007653/11.03, allocations: 1.594 MB / 3.321 GB, free: 78.44 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01551/11.04, allocations: 2.913 MB / 3.324 GB, free: 77.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009017/11.05, allocations: 307.9 kB / 3.324 GB, free: 77.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/11.05, allocations: 0 / 3.324 GB, free: 77.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/11.05, allocations: 158.8 kB / 3.324 GB, free: 77.57 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/11.05, allocations: 45.02 kB / 3.324 GB, free: 77.56 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00644/11.05, allocations: 1.185 MB / 3.325 GB, free: 77.07 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/11.05, allocations: 0.803 MB / 3.326 GB, free: 76.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/11.05, allocations: 156 kB / 3.326 GB, free: 76.36 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/11.05, allocations: 3.094 kB / 3.326 GB, free: 76.36 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.007/15.06, allocations: 38.61 MB / 3.364 GB, free: 72.61 MB / 490.7 MB 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