Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.817/1.817, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008369/0.0008369, allocations: 93.86 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2521/0.2521, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.213e-05/2.215e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1793, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.019/8.199, allocations: 2.755 GB / 3.25 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/8.199, allocations: 75.77 kB / 3.25 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9054/9.104, allocations: 214 MB / 3.459 GB, free: 88.65 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.323e-06/9.104, allocations: 7.656 kB / 3.459 GB, free: 88.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.596e-05/9.104, allocations: 3.312 kB / 3.459 GB, free: 88.64 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.01084/9.115, allocations: 1.74 MB / 3.46 GB, free: 87.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/9.115, allocations: 15.2 kB / 3.46 GB, free: 87.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/9.117, allocations: 189.4 kB / 3.46 GB, free: 87.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/9.117, allocations: 277.8 kB / 3.461 GB, free: 87.47 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/9.117, allocations: 11.28 kB / 3.461 GB, free: 87.47 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/9.117, allocations: 15.53 kB / 3.461 GB, free: 87.47 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006527/9.118, allocations: 477.2 kB / 3.461 GB, free: 87.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/9.119, allocations: 376.1 kB / 3.462 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/9.119, allocations: 0 / 3.462 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/9.119, allocations: 7.703 kB / 3.462 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/9.119, allocations: 7.312 kB / 3.462 GB, free: 87.32 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.3198/9.438, allocations: 127.7 MB / 3.586 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/9.439, allocations: 77.38 kB / 3.586 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.289e-05/9.439, allocations: 32.06 kB / 3.586 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.515/9.954, allocations: 46.16 MB / 3.631 GB, free: 88.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003145/9.954, allocations: 110.6 kB / 3.632 GB, free: 88.01 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 2.344e-06/9.954, allocations: 0 / 3.632 GB, free: 88.01 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.003009/9.957, allocations: 0.592 MB / 3.632 GB, free: 87.95 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/9.957, allocations: 80.95 kB / 3.632 GB, free: 87.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/9.957, allocations: 226.1 kB / 3.632 GB, free: 87.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/9.957, allocations: 29.61 kB / 3.632 GB, free: 87.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/9.958, allocations: 241.2 kB / 3.633 GB, free: 87.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/9.958, allocations: 54.17 kB / 3.633 GB, free: 87.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/9.958, allocations: 0 / 3.633 GB, free: 87.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.782e-05/9.958, allocations: 328.9 kB / 3.633 GB, free: 87.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.366e-05/9.958, allocations: 62.7 kB / 3.633 GB, free: 87.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/9.958, allocations: 337.5 kB / 3.633 GB, free: 86.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/9.959, allocations: 211.2 kB / 3.634 GB, free: 86.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/9.959, allocations: 0 / 3.634 GB, free: 86.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001545/9.961, allocations: 487.3 kB / 3.634 GB, free: 86.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/9.961, allocations: 7.781 kB / 3.634 GB, free: 86.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/9.961, allocations: 15.59 kB / 3.634 GB, free: 86.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.787e-05/9.961, allocations: 15.52 kB / 3.634 GB, free: 86.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/9.962, allocations: 216.2 kB / 3.634 GB, free: 86.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003253/9.962, allocations: 0.6014 MB / 3.635 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005184/9.963, allocations: 20.45 kB / 3.635 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/9.963, allocations: 42.83 kB / 3.635 GB, free: 86.26 MB / 0.5261 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.0001602/9.963, allocations: 134.6 kB / 3.635 GB, free: 86.16 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005759/9.964, allocations: 169.7 kB / 3.635 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/9.964, allocations: 25.38 kB / 3.635 GB, free: 86.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000939/9.965, allocations: 0.7868 MB / 3.636 GB, free: 86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/9.965, allocations: 10.12 kB / 3.636 GB, free: 86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/9.965, allocations: 0 / 3.636 GB, free: 86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/9.965, allocations: 0 / 3.636 GB, free: 86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/9.965, allocations: 422.2 kB / 3.637 GB, free: 85.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/9.965, allocations: 0 / 3.637 GB, free: 85.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/9.966, allocations: 48 kB / 3.637 GB, free: 85.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002785/9.966, allocations: 234 kB / 3.637 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/9.966, allocations: 3.703 kB / 3.637 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003324/9.966, allocations: 0.6539 MB / 3.637 GB, free: 85.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/9.966, allocations: 1.438 kB / 3.637 GB, free: 85.28 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/9.967, allocations: 0.5878 MB / 3.638 GB, free: 85.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/9.967, allocations: 148.5 kB / 3.638 GB, free: 85.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.524e-05/9.967, allocations: 3.953 kB / 3.638 GB, free: 85.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/9.967, allocations: 11.44 kB / 3.638 GB, free: 85.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/9.967, allocations: 7.672 kB / 3.638 GB, free: 85.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/9.967, allocations: 10.84 kB / 3.638 GB, free: 85.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001984/9.968, allocations: 221.5 kB / 3.638 GB, free: 84.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/9.968, allocations: 0 / 3.638 GB, free: 84.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00838/9.976, allocations: 1.601 MB / 3.64 GB, free: 84.91 MB / 0.5261 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.01495/9.991, allocations: 2.92 MB / 3.643 GB, free: 83.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008489/9.992, allocations: 307.4 kB / 3.643 GB, free: 83.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/9.992, allocations: 1.594 kB / 3.643 GB, free: 83.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002649/9.992, allocations: 161.7 kB / 3.643 GB, free: 83.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/9.993, allocations: 45.8 kB / 3.643 GB, free: 83.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007268/10, allocations: 1.151 MB / 3.644 GB, free: 83.49 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/10, allocations: 0.8098 MB / 3.645 GB, free: 82.78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001558/10, allocations: 1.12 MB / 3.646 GB, free: 82.72 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/10, allocations: 139.5 kB / 3.646 GB, free: 82.71 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/10, allocations: 1.969 kB / 3.646 GB, free: 82.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09392/10.1, allocations: 40.74 MB / 3.686 GB, free: 80.26 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/10.1, allocations: 164.4 kB / 3.686 GB, free: 80.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.598/13.69, allocations: 0 / 3.686 GB, free: 80.07 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat