Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001887/0.001888, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001132/0.001131, allocations: 98.86 kB / 270.2 MB, free: 13.36 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.2302/0.2302, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003706, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 58.86 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.105/7.243, allocations: 2.75 GB / 3.229 GB, free: 93.56 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003198/7.243, allocations: 78.08 kB / 3.229 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.902/8.146, allocations: 215.5 MB / 3.44 GB, free: 94.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.647e-06/8.146, allocations: 4 kB / 3.44 GB, free: 94.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.344e-05/8.146, allocations: 0 / 3.44 GB, free: 94.39 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.01018/8.156, allocations: 1.75 MB / 3.441 GB, free: 92.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.631e-05/8.156, allocations: 8.031 kB / 3.441 GB, free: 92.79 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002322/8.156, allocations: 71.73 kB / 3.441 GB, free: 92.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/8.158, allocations: 190 kB / 3.441 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/8.159, allocations: 264.2 kB / 3.442 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/8.159, allocations: 23.41 kB / 3.442 GB, free: 92.38 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.62e-05/8.159, allocations: 30.44 kB / 3.442 GB, free: 92.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/8.161, allocations: 0.7433 MB / 3.443 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/8.161, allocations: 4 kB / 3.443 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.558e-05/8.161, allocations: 21.19 kB / 3.443 GB, free: 91.89 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/8.161, allocations: 9.125 kB / 3.443 GB, free: 91.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/8.164, allocations: 0.8013 MB / 3.443 GB, free: 91.43 MB / 0.5105 GB 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.003692/8.167, allocations: 2.908 MB / 3.446 GB, free: 88.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/8.168, allocations: 342.6 kB / 3.447 GB, free: 88.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6653/8.834, allocations: 139.9 MB / 3.583 GB, free: 76.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/8.835, allocations: 437.6 kB / 3.584 GB, free: 76.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=31): time 3.206e-06/8.835, allocations: 0.8438 kB / 3.584 GB, free: 76.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.003686/8.839, allocations: 1.097 MB / 3.585 GB, free: 76.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/8.839, allocations: 371.1 kB / 3.585 GB, free: 76.09 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/8.839, allocations: 171.9 kB / 3.585 GB, free: 75.99 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/8.839, allocations: 32.14 kB / 3.585 GB, free: 75.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.766e-05/8.839, allocations: 186.2 kB / 3.585 GB, free: 75.83 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.251e-05/8.839, allocations: 112.8 kB / 3.585 GB, free: 75.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/8.839, allocations: 15.28 kB / 3.585 GB, free: 75.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.233e-05/8.839, allocations: 325.4 kB / 3.586 GB, free: 75.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/8.84, allocations: 76.61 kB / 3.586 GB, free: 75.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/8.84, allocations: 347.4 kB / 3.586 GB, free: 75.12 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/8.84, allocations: 123.9 kB / 3.586 GB, free: 75.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/8.84, allocations: 3.969 kB / 3.586 GB, free: 75.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006995/8.841, allocations: 471.4 kB / 3.587 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/8.841, allocations: 16.47 kB / 3.587 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/8.841, allocations: 7.344 kB / 3.587 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/8.841, allocations: 15.44 kB / 3.587 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/8.842, allocations: 199.5 kB / 3.587 GB, free: 75.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004773/8.843, allocations: 1.187 MB / 3.588 GB, free: 73.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003953/8.843, allocations: 28.42 kB / 3.588 GB, free: 73.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/8.843, allocations: 40.52 kB / 3.588 GB, free: 73.83 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 () * 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.0001791/8.843, allocations: 159.4 kB / 3.588 GB, free: 73.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/8.844, allocations: 24.88 kB / 3.588 GB, free: 73.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002527/8.846, allocations: 2.83 MB / 3.591 GB, free: 73.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.989e-05/8.846, allocations: 29.5 kB / 3.591 GB, free: 73.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/8.846, allocations: 3.969 kB / 3.591 GB, free: 73.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/8.846, allocations: 7.438 kB / 3.591 GB, free: 73.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009838/8.847, allocations: 0.9663 MB / 3.592 GB, free: 73.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/8.847, allocations: 7.969 kB / 3.592 GB, free: 73.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/8.848, allocations: 97.7 kB / 3.592 GB, free: 73.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002212/8.848, allocations: 168.7 kB / 3.592 GB, free: 73.08 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/8.848, allocations: 7.719 kB / 3.592 GB, free: 73.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000278/8.848, allocations: 0.6341 MB / 3.593 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/8.848, allocations: 7.766 kB / 3.593 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/8.849, allocations: 1.108 MB / 3.594 GB, free: 72.06 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/8.85, allocations: 359 kB / 3.594 GB, free: 71.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/8.85, allocations: 16.44 kB / 3.594 GB, free: 71.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/8.85, allocations: 21.47 kB / 3.594 GB, free: 71.91 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/8.85, allocations: 33.19 kB / 3.594 GB, free: 71.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/8.85, allocations: 17.56 kB / 3.595 GB, free: 71.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004819/8.851, allocations: 469 kB / 3.595 GB, free: 71.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/8.851, allocations: 0 / 3.595 GB, free: 71.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007777/8.859, allocations: 1.636 MB / 3.597 GB, free: 71.74 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 ($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.01523/8.874, allocations: 4.254 MB / 3.601 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001788/8.876, allocations: 0.5199 MB / 3.601 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/8.876, allocations: 1.875 kB / 3.601 GB, free: 69.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005783/8.876, allocations: 355 kB / 3.602 GB, free: 69.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009795/8.877, allocations: 124.4 kB / 3.602 GB, free: 69.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.6/10.48, allocations: 0.5734 GB / 4.175 GB, free: 82.93 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/10.48, allocations: 1.006 MB / 4.176 GB, free: 82.22 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000753/10.48, allocations: 499.2 kB / 4.177 GB, free: 82.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/10.48, allocations: 315.7 kB / 4.177 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of SimCode: time 7.82e-07/10.48, allocations: 0 / 4.177 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08411/10.56, allocations: 48.59 MB / 4.224 GB, free: 69.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001528/10.56, allocations: 222.2 kB / 4.225 GB, free: 69.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.051/14.61, allocations: 0 / 4.225 GB, free: 69.32 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat