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.002495/0.002495, allocations: 182.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.648/2.648, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001166/0.001165, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3113/0.3113, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.669e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.348/8.472, allocations: 2.75 GB / 3.223 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/8.472, allocations: 74.39 kB / 3.223 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.349/9.821, allocations: 215.2 MB / 3.433 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/9.821, allocations: 0 / 3.433 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.823e-05/9.821, allocations: 4 kB / 3.433 GB, free: 94.88 MB / 0.5105 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.008699/9.83, allocations: 1.744 MB / 3.435 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/9.83, allocations: 8.031 kB / 3.435 GB, free: 93.29 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/9.83, allocations: 66.91 kB / 3.435 GB, free: 93.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/9.832, allocations: 193.9 kB / 3.435 GB, free: 93.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/9.832, allocations: 266.7 kB / 3.435 GB, free: 92.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/9.832, allocations: 22.97 kB / 3.435 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/9.832, allocations: 33.75 kB / 3.435 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002928/9.835, allocations: 0.8082 MB / 3.436 GB, free: 92.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/9.835, allocations: 0 / 3.436 GB, free: 92.12 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.528e-05/9.836, allocations: 17.7 kB / 3.436 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/9.836, allocations: 8 kB / 3.436 GB, free: 92.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003028/9.839, allocations: 0.8594 MB / 3.437 GB, free: 91.43 MB / 0.5105 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.005086/9.844, allocations: 2.901 MB / 3.44 GB, free: 88.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/9.846, allocations: 389.5 kB / 3.44 GB, free: 88.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/9.846, allocations: 70.91 kB / 3.44 GB, free: 88.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9547/10.8, allocations: 140.6 MB / 3.578 GB, free: 79.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001848/10.8, allocations: 487.6 kB / 3.578 GB, free: 79.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 4.228e-06/10.8, allocations: 0 / 3.578 GB, free: 79.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.005687/10.81, allocations: 1.138 MB / 3.579 GB, free: 78.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/10.81, allocations: 374.4 kB / 3.58 GB, free: 78.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/10.81, allocations: 168.3 kB / 3.58 GB, free: 78.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.577e-05/10.81, allocations: 32.58 kB / 3.58 GB, free: 78.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/10.81, allocations: 261 kB / 3.58 GB, free: 78.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/10.81, allocations: 115.4 kB / 3.58 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/10.81, allocations: 11.84 kB / 3.58 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/10.81, allocations: 329.9 kB / 3.58 GB, free: 77.83 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/10.81, allocations: 73.83 kB / 3.581 GB, free: 77.83 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/10.81, allocations: 339.7 kB / 3.581 GB, free: 77.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/10.81, allocations: 136.3 kB / 3.581 GB, free: 77.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/10.81, allocations: 3.656 kB / 3.581 GB, free: 77.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001184/10.81, allocations: 447.4 kB / 3.581 GB, free: 77.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/10.81, allocations: 15.08 kB / 3.581 GB, free: 77.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/10.81, allocations: 19.36 kB / 3.581 GB, free: 77.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.272e-05/10.81, allocations: 19.53 kB / 3.581 GB, free: 77.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/10.81, allocations: 197.7 kB / 3.582 GB, free: 77.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005683/10.81, allocations: 1.182 MB / 3.583 GB, free: 76.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000684/10.82, allocations: 27.94 kB / 3.583 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.801e-05/10.82, allocations: 42.75 kB / 3.583 GB, free: 76.23 MB / 0.5105 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): 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.0002183/10.82, allocations: 151.2 kB / 3.583 GB, free: 76.13 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/10.82, allocations: 23.02 kB / 3.583 GB, free: 76.12 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/10.82, allocations: 1.886 MB / 3.585 GB, free: 75.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.172e-05/10.82, allocations: 23.27 kB / 3.585 GB, free: 75.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/10.82, allocations: 3.969 kB / 3.585 GB, free: 75.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/10.82, allocations: 7.25 kB / 3.585 GB, free: 75.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/10.82, allocations: 0.8838 MB / 3.586 GB, free: 75.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/10.82, allocations: 3.969 kB / 3.586 GB, free: 75.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/10.82, allocations: 107.5 kB / 3.586 GB, free: 75.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004066/10.82, allocations: 229.8 kB / 3.586 GB, free: 75.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-05/10.82, allocations: 24.77 kB / 3.586 GB, free: 75.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004063/10.82, allocations: 0.6333 MB / 3.587 GB, free: 75.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/10.82, allocations: 7.562 kB / 3.587 GB, free: 75.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001707/10.82, allocations: 1.159 MB / 3.588 GB, free: 74.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003668/10.82, allocations: 274.4 kB / 3.588 GB, free: 74.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/10.82, allocations: 14.84 kB / 3.588 GB, free: 74.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/10.82, allocations: 18.56 kB / 3.588 GB, free: 74.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/10.83, allocations: 43.89 kB / 3.588 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-05/10.83, allocations: 29.97 kB / 3.588 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005411/10.83, allocations: 327.3 kB / 3.589 GB, free: 74.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.4e-07/10.83, allocations: 0 / 3.589 GB, free: 74.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008254/10.83, allocations: 1.624 MB / 3.59 GB, free: 74.33 MB / 0.5105 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 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$whenCondition1) * Number of discrete 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.0173/10.85, allocations: 4.254 MB / 3.594 GB, free: 72.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002172/10.85, allocations: 0.5128 MB / 3.595 GB, free: 72.24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/10.85, allocations: 3.844 kB / 3.595 GB, free: 72.24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006586/10.85, allocations: 369.4 kB / 3.595 GB, free: 72.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/10.86, allocations: 113.3 kB / 3.595 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.057/12.91, allocations: 495.8 MB / 4.079 GB, free: 16.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/12.91, allocations: 0.9425 MB / 4.08 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005805/12.91, allocations: 271.3 kB / 4.081 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of SimCode: time 1.874e-06/12.91, allocations: 3.828 kB / 4.081 GB, free: 14.82 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.466/17.38, allocations: 40.98 MB / 4.121 GB, free: 81.16 MB / 0.5105 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