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.001537/0.001537, allocations: 182.5 kB / 13.19 MB, free: 2.129 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.896/1.896, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.00112/0.00112, allocations: 80.59 kB / 267 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4973/0.4973, allocations: 43.46 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.198e-05/5.284e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1833, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.074/8.257, allocations: 2.765 GB / 3.237 GB, free: 128 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/8.257, allocations: 83.36 kB / 3.238 GB, free: 128 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.594/9.851, allocations: 357.1 MB / 3.586 GB, free: 56.78 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.104e-06/9.851, allocations: 0 / 3.586 GB, free: 56.78 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.561e-05/9.851, allocations: 19.2 kB / 3.586 GB, free: 56.78 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.007007/9.858, allocations: 1.66 MB / 3.588 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/9.858, allocations: 9.438 kB / 3.588 GB, free: 56.17 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001593/9.858, allocations: 110.1 kB / 3.588 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003295/9.862, allocations: 441 kB / 3.588 GB, free: 56.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/9.863, allocations: 0.5613 MB / 3.589 GB, free: 55.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/9.863, allocations: 108.6 kB / 3.589 GB, free: 55.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.592e-05/9.863, allocations: 60.95 kB / 3.589 GB, free: 55.81 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/9.866, allocations: 1.148 MB / 3.59 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/9.866, allocations: 2.031 kB / 3.59 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.42e-05/9.866, allocations: 28.2 kB / 3.59 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-05/9.866, allocations: 37.56 kB / 3.59 GB, free: 55.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/9.868, allocations: 1.019 MB / 3.591 GB, free: 55.61 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.006273/9.874, allocations: 5.004 MB / 3.596 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/9.876, allocations: 0.8631 MB / 3.597 GB, free: 52.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004836/9.877, allocations: 334 kB / 3.597 GB, free: 52.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04396/9.921, allocations: 24.15 MB / 3.621 GB, free: 38.04 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.24e-05/9.921, allocations: 44.05 kB / 3.621 GB, free: 38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 3.186e-06/9.921, allocations: 0 / 3.621 GB, free: 38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47): time 0.003988/9.925, allocations: 1.324 MB / 3.622 GB, free: 37.91 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/9.925, allocations: 112.8 kB / 3.622 GB, free: 37.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007668/9.926, allocations: 0.5193 MB / 3.623 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/9.926, allocations: 32.73 kB / 3.623 GB, free: 37.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002013/9.926, allocations: 323.8 kB / 3.623 GB, free: 37.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/9.926, allocations: 158.2 kB / 3.623 GB, free: 37.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/9.926, allocations: 14.16 kB / 3.623 GB, free: 37.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001265/9.926, allocations: 369.5 kB / 3.624 GB, free: 37.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004492/9.927, allocations: 275.9 kB / 3.624 GB, free: 37.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/9.927, allocations: 441.6 kB / 3.624 GB, free: 36.92 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/9.928, allocations: 305.6 kB / 3.625 GB, free: 36.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/9.928, allocations: 2.594 kB / 3.625 GB, free: 36.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001592/9.93, allocations: 0.9465 MB / 3.626 GB, free: 36.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/9.93, allocations: 10.81 kB / 3.626 GB, free: 36.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/9.93, allocations: 7.047 kB / 3.626 GB, free: 36.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000875/9.93, allocations: 399.2 kB / 3.626 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/9.931, allocations: 121.7 kB / 3.626 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/9.932, allocations: 1.583 MB / 3.628 GB, free: 35.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007856/9.933, allocations: 120.5 kB / 3.628 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.207e-05/9.933, allocations: 38.12 kB / 3.628 GB, free: 35.71 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 () * 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.0001949/9.933, allocations: 144 kB / 3.628 GB, free: 35.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/9.933, allocations: 66.48 kB / 3.628 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005729/9.939, allocations: 3.499 MB / 3.631 GB, free: 35.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-05/9.939, allocations: 46.95 kB / 3.632 GB, free: 35.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/9.939, allocations: 1.312 kB / 3.632 GB, free: 35.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/9.939, allocations: 4.297 kB / 3.632 GB, free: 35.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/9.942, allocations: 1.557 MB / 3.633 GB, free: 34.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/9.942, allocations: 3.656 kB / 3.633 GB, free: 34.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/9.942, allocations: 89.11 kB / 3.633 GB, free: 34.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/9.944, allocations: 1.061 MB / 3.634 GB, free: 34.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/9.944, allocations: 15.62 kB / 3.634 GB, free: 34.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/9.946, allocations: 2.321 MB / 3.636 GB, free: 33.83 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/9.946, allocations: 3.094 kB / 3.636 GB, free: 33.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00397/9.95, allocations: 2.473 MB / 3.639 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007341/9.951, allocations: 355.2 kB / 3.639 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/9.951, allocations: 8.438 kB / 3.639 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005841/9.952, allocations: 66.27 kB / 3.639 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/9.952, allocations: 71.47 kB / 3.639 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.914e-05/9.952, allocations: 23.33 kB / 3.639 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007648/9.953, allocations: 0.5029 MB / 3.64 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/9.953, allocations: 0 / 3.64 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006629/9.96, allocations: 1.207 MB / 3.641 GB, free: 33.01 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 () * 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.01445/9.974, allocations: 4.013 MB / 3.645 GB, free: 31.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003069/9.977, allocations: 1.028 MB / 3.646 GB, free: 31.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/9.977, allocations: 1.062 kB / 3.646 GB, free: 31.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/9.979, allocations: 0.8416 MB / 3.647 GB, free: 31.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/9.981, allocations: 349.3 kB / 3.647 GB, free: 31.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007453/9.988, allocations: 2.453 MB / 3.649 GB, free: 31.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006672/9.989, allocations: 1.181 MB / 3.651 GB, free: 30.64 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009521/9.99, allocations: 351.1 kB / 3.651 GB, free: 30.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004414/9.99, allocations: 401.1 kB / 3.651 GB, free: 30.63 MB / 0.5105 GB Notification: Performance of SimCode: time 2.194e-06/9.99, allocations: 0 / 3.651 GB, free: 30.63 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/10.09, allocations: 57.14 MB / 3.707 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/10.09, allocations: 217.5 kB / 3.707 GB, free: 27.47 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.015/14.11, allocations: 1.859 kB / 3.707 GB, free: 27.47 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