Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",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.001807/0.001807, allocations: 182.9 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.793/1.793, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001228/0.001228, allocations: 90.88 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.2426/0.2426, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.000336, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1416, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.191/7.333, allocations: 2.765 GB / 3.243 GB, free: 79.22 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/7.333, allocations: 87.52 kB / 3.244 GB, free: 79.17 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.524/8.857, allocations: 358 MB / 3.593 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.096e-06/8.857, allocations: 0 / 3.593 GB, free: 73.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.475e-05/8.857, allocations: 15.22 kB / 3.593 GB, free: 73.89 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.007117/8.865, allocations: 1.725 MB / 3.595 GB, free: 73.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/8.865, allocations: 7.938 kB / 3.595 GB, free: 73.09 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000232/8.865, allocations: 112.5 kB / 3.595 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003421/8.868, allocations: 429.6 kB / 3.595 GB, free: 73.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/8.87, allocations: 0.5698 MB / 3.596 GB, free: 72.76 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/8.87, allocations: 112.2 kB / 3.596 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.161e-05/8.87, allocations: 58.66 kB / 3.596 GB, free: 72.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/8.872, allocations: 1.16 MB / 3.597 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/8.872, allocations: 2.062 kB / 3.597 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/8.872, allocations: 26.75 kB / 3.597 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-05/8.872, allocations: 34.73 kB / 3.597 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/8.875, allocations: 1.08 MB / 3.598 GB, free: 72.49 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.006094/8.881, allocations: 5.006 MB / 3.603 GB, free: 69.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/8.883, allocations: 0.9525 MB / 3.604 GB, free: 69.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0397/8.923, allocations: 24.07 MB / 3.628 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.186e-05/8.923, allocations: 42 kB / 3.628 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 3.577e-06/8.923, allocations: 3.156 kB / 3.628 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.006431/8.93, allocations: 2.05 MB / 3.63 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/8.93, allocations: 107.1 kB / 3.63 GB, free: 54.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006739/8.93, allocations: 0.5285 MB / 3.63 GB, free: 54.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/8.93, allocations: 33.45 kB / 3.63 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/8.931, allocations: 312.1 kB / 3.631 GB, free: 54.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/8.931, allocations: 167.3 kB / 3.631 GB, free: 54.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/8.931, allocations: 12.53 kB / 3.631 GB, free: 54.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001257/8.931, allocations: 369.6 kB / 3.631 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006099/8.932, allocations: 335.4 kB / 3.632 GB, free: 53.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007419/8.932, allocations: 494.1 kB / 3.632 GB, free: 53.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006525/8.933, allocations: 357.3 kB / 3.632 GB, free: 53.53 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/8.933, allocations: 3.844 kB / 3.632 GB, free: 53.53 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001981/8.935, allocations: 1.075 MB / 3.633 GB, free: 53.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/8.935, allocations: 7.734 kB / 3.633 GB, free: 53.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/8.935, allocations: 7.219 kB / 3.633 GB, free: 53.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/8.936, allocations: 426.3 kB / 3.634 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/8.937, allocations: 129.1 kB / 3.634 GB, free: 53.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/8.938, allocations: 1.636 MB / 3.636 GB, free: 51.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007732/8.939, allocations: 122.9 kB / 3.636 GB, free: 51.85 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/8.939, allocations: 25.14 kB / 3.636 GB, free: 51.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004106/8.939, allocations: 236.3 kB / 3.636 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/8.94, allocations: 63.62 kB / 3.636 GB, free: 51.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003893/8.943, allocations: 3.315 MB / 3.639 GB, free: 50.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.642e-05/8.944, allocations: 47.75 kB / 3.639 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/8.944, allocations: 0 / 3.639 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/8.944, allocations: 3.656 kB / 3.639 GB, free: 50.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001776/8.945, allocations: 1.561 MB / 3.641 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/8.945, allocations: 0 / 3.641 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/8.946, allocations: 95.95 kB / 3.641 GB, free: 49.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/8.947, allocations: 0.8831 MB / 3.642 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/8.947, allocations: 19.38 kB / 3.642 GB, free: 49.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/8.949, allocations: 2.286 MB / 3.644 GB, free: 47.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/8.949, allocations: 3.781 kB / 3.644 GB, free: 47.67 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/8.952, allocations: 2.302 MB / 3.646 GB, free: 46.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/8.953, allocations: 352.2 kB / 3.647 GB, free: 46.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.893e-05/8.953, allocations: 11.94 kB / 3.647 GB, free: 46.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005475/8.953, allocations: 72.8 kB / 3.647 GB, free: 46.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/8.954, allocations: 65.38 kB / 3.647 GB, free: 46.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.092e-05/8.954, allocations: 26.84 kB / 3.647 GB, free: 46.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006162/8.954, allocations: 0.5085 MB / 3.647 GB, free: 46.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/8.954, allocations: 0 / 3.647 GB, free: 46.13 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006256/8.96, allocations: 1.213 MB / 3.648 GB, free: 45.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01248/8.973, allocations: 4.135 MB / 3.652 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00248/8.976, allocations: 1.143 MB / 3.654 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/8.976, allocations: 0 / 3.654 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001372/8.977, allocations: 0.8953 MB / 3.654 GB, free: 43.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001796/8.979, allocations: 350.4 kB / 3.655 GB, free: 43.35 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/8.992, allocations: 9.363 MB / 3.664 GB, free: 37.28 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006412/8.993, allocations: 1.176 MB / 3.665 GB, free: 36.55 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008628/8.993, allocations: 348.5 kB / 3.665 GB, free: 36.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004572/8.994, allocations: 397.2 kB / 3.666 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.623e-06/8.994, allocations: 3.906 kB / 3.666 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/9.103, allocations: 54.83 MB / 3.719 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002141/9.104, allocations: 258.4 kB / 3.72 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.178/13.28, allocations: 3.938 kB / 3.72 GB, free: 5.027 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat