Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001463/0.001463, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001126, allocations: 98.36 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3301/0.3301, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.197e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4239, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.195/8.619, allocations: 2.749 GB / 3.215 GB, free: 53.93 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/8.62, allocations: 82.14 kB / 3.215 GB, free: 53.89 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.234/9.853, allocations: 211.9 MB / 3.422 GB, free: 50.49 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.833e-06/9.853, allocations: 0 / 3.422 GB, free: 50.49 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.63e-05/9.853, allocations: 4 kB / 3.422 GB, free: 50.48 MB / 0.4952 GB 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.008988/9.862, allocations: 1.738 MB / 3.424 GB, free: 48.7 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/9.863, allocations: 12.03 kB / 3.424 GB, free: 48.69 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/9.865, allocations: 183.5 kB / 3.424 GB, free: 48.51 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/9.865, allocations: 266.7 kB / 3.425 GB, free: 48.21 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/9.865, allocations: 12 kB / 3.425 GB, free: 48.2 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.979e-05/9.865, allocations: 16 kB / 3.425 GB, free: 48.18 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009492/9.866, allocations: 477.3 kB / 3.425 GB, free: 47.71 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006879/9.867, allocations: 383.1 kB / 3.425 GB, free: 47.29 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/9.867, allocations: 3.984 kB / 3.425 GB, free: 47.28 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.474e-05/9.867, allocations: 4 kB / 3.425 GB, free: 47.28 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/9.867, allocations: 11.94 kB / 3.425 GB, free: 47.27 MB / 0.4952 GB 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.9086/10.78, allocations: 127.8 MB / 3.55 GB, free: 55.66 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/10.78, allocations: 80.91 kB / 3.55 GB, free: 55.63 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.144e-05/10.78, allocations: 33.73 kB / 3.55 GB, free: 55.62 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1954/10.97, allocations: 46.15 MB / 3.595 GB, free: 25.78 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000253/10.97, allocations: 114.5 kB / 3.595 GB, free: 25.68 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=12): time 2.595e-06/10.97, allocations: 0 / 3.595 GB, free: 25.68 MB / 0.4952 GB Notification: Performance of matching and sorting (n=13): time 0.003814/10.98, allocations: 0.5825 MB / 3.596 GB, free: 25.33 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/10.98, allocations: 82.14 kB / 3.596 GB, free: 25.23 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/10.98, allocations: 221.3 kB / 3.596 GB, free: 25.07 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/10.98, allocations: 32.05 kB / 3.596 GB, free: 25.03 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/10.98, allocations: 318.6 kB / 3.597 GB, free: 24.78 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/10.98, allocations: 47.36 kB / 3.597 GB, free: 24.75 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/10.98, allocations: 0 / 3.597 GB, free: 24.75 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 7e-05/10.98, allocations: 333.5 kB / 3.597 GB, free: 24.43 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/10.98, allocations: 65.27 kB / 3.597 GB, free: 24.39 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/10.98, allocations: 326.3 kB / 3.597 GB, free: 24 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/10.98, allocations: 207.3 kB / 3.598 GB, free: 23.86 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/10.98, allocations: 4 kB / 3.598 GB, free: 23.86 MB / 0.4952 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002283/10.98, allocations: 488.1 kB / 3.598 GB, free: 23.55 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/10.98, allocations: 15.47 kB / 3.598 GB, free: 23.54 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/10.98, allocations: 8 kB / 3.598 GB, free: 23.53 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/10.98, allocations: 16 kB / 3.598 GB, free: 23.51 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/10.98, allocations: 207.2 kB / 3.598 GB, free: 23.37 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003079/10.98, allocations: 0.6046 MB / 3.599 GB, free: 22.76 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008948/10.98, allocations: 18.16 kB / 3.599 GB, free: 22.75 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.933e-05/10.98, allocations: 47.22 kB / 3.599 GB, free: 22.71 MB / 0.4952 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 () * 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.0001545/10.98, allocations: 129.4 kB / 3.599 GB, free: 22.6 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008988/10.99, allocations: 170.5 kB / 3.599 GB, free: 22.47 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/10.99, allocations: 25.5 kB / 3.599 GB, free: 22.45 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/10.99, allocations: 0.7823 MB / 3.6 GB, free: 22.04 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/10.99, allocations: 7.75 kB / 3.6 GB, free: 22.04 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/10.99, allocations: 6.844 kB / 3.6 GB, free: 22.03 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/10.99, allocations: 2.953 kB / 3.6 GB, free: 22.03 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005268/10.99, allocations: 424.8 kB / 3.6 GB, free: 21.74 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/10.99, allocations: 0 / 3.6 GB, free: 21.74 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006801/10.99, allocations: 51.88 kB / 3.6 GB, free: 21.71 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003617/10.99, allocations: 235.4 kB / 3.601 GB, free: 21.59 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.694e-05/10.99, allocations: 0 / 3.601 GB, free: 21.59 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004143/10.99, allocations: 0.6585 MB / 3.601 GB, free: 20.99 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/10.99, allocations: 0 / 3.601 GB, free: 20.99 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/10.99, allocations: 0.5812 MB / 3.602 GB, free: 20.61 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/10.99, allocations: 156.7 kB / 3.602 GB, free: 20.48 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/10.99, allocations: 1.312 kB / 3.602 GB, free: 20.48 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/10.99, allocations: 8 kB / 3.602 GB, free: 20.47 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/10.99, allocations: 13.36 kB / 3.602 GB, free: 20.46 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/10.99, allocations: 7.703 kB / 3.602 GB, free: 20.46 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0002856/10.99, allocations: 221 kB / 3.602 GB, free: 20.3 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.11e-07/10.99, allocations: 7.938 kB / 3.602 GB, free: 20.29 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.007678/11, allocations: 1.579 MB / 3.604 GB, free: 19.09 MB / 0.4952 GB 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.01601/11.01, allocations: 2.919 MB / 3.607 GB, free: 16.81 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0009147/11.02, allocations: 306.8 kB / 3.607 GB, free: 16.64 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/11.02, allocations: 0 / 3.607 GB, free: 16.64 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0002736/11.02, allocations: 161 kB / 3.607 GB, free: 16.57 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/11.02, allocations: 41.73 kB / 3.607 GB, free: 16.55 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006416/11.02, allocations: 1.182 MB / 3.608 GB, free: 15.57 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002529/11.02, allocations: 0.802 MB / 3.609 GB, free: 14.79 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003817/11.02, allocations: 155.9 kB / 3.609 GB, free: 14.75 MB / 0.4952 GB Notification: Performance of SimCode: time 2.315e-06/11.02, allocations: 0 / 3.609 GB, free: 14.75 MB / 0.4952 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.929/14.95, allocations: 38.62 MB / 3.647 GB, free: 1.652 MB / 0.5108 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat