Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",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.001473/0.001473, allocations: 185.6 kB / 17.06 MB, free: 5.07 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009675/0.0009674, allocations: 99.41 kB / 292.1 MB, free: 10.94 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.3158/0.3158, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003428, allocations: 12 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2983, allocations: 61.9 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.086/6.384, allocations: 2.792 GB / 3.302 GB, free: 81.88 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/6.385, allocations: 89.66 kB / 3.302 GB, free: 81.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.795/9.18, allocations: 0.6633 GB / 3.965 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.908e-06/9.18, allocations: 192 / 3.965 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001448/9.18, allocations: 37.89 kB / 3.965 GB, free: 15.07 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.01193/9.192, allocations: 2.491 MB / 3.968 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/9.192, allocations: 8.031 kB / 3.968 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008839/9.193, allocations: 164.4 kB / 3.968 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00539/9.199, allocations: 0.5885 MB / 3.969 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/9.201, allocations: 0.8305 MB / 3.969 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/9.202, allocations: 208.8 kB / 3.97 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000528/9.202, allocations: 96 kB / 3.97 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005306/9.208, allocations: 1.861 MB / 3.972 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.933e-05/9.208, allocations: 7.938 kB / 3.972 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003095/9.208, allocations: 45.64 kB / 3.972 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.825e-05/9.208, allocations: 46 kB / 3.972 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004354/9.212, allocations: 1.67 MB / 3.973 GB, free: 6.844 MB / 0.5261 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.01183/9.224, allocations: 8.595 MB / 3.982 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003344/9.228, allocations: 1.017 MB / 3.983 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5453/9.773, allocations: 25.03 MB / 4.007 GB, free: 33.89 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.254e-05/9.773, allocations: 42.31 kB / 4.007 GB, free: 33.86 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001121/9.774, allocations: 127.8 kB / 4.007 GB, free: 33.86 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=70): time 4.439e-06/9.774, allocations: 0 / 4.007 GB, free: 33.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=78): time 0.01007/9.784, allocations: 3.572 MB / 4.011 GB, free: 33.34 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/9.785, allocations: 113.8 kB / 4.011 GB, free: 33.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/9.786, allocations: 0.75 MB / 4.012 GB, free: 33.07 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.81e-05/9.786, allocations: 40.33 kB / 4.012 GB, free: 33.04 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/9.786, allocations: 0.5598 MB / 4.012 GB, free: 32.79 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000251/9.786, allocations: 284.1 kB / 4.012 GB, free: 32.66 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/9.787, allocations: 27.12 kB / 4.012 GB, free: 32.66 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001658/9.787, allocations: 406.4 kB / 4.013 GB, free: 32.34 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008455/9.788, allocations: 443.7 kB / 4.013 GB, free: 32.34 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/9.789, allocations: 1.001 MB / 4.014 GB, free: 31.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/9.79, allocations: 0.5825 MB / 4.015 GB, free: 31.64 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/9.79, allocations: 10.16 kB / 4.015 GB, free: 31.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00337/9.793, allocations: 1.766 MB / 4.017 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/9.793, allocations: 12.22 kB / 4.017 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.46e-05/9.793, allocations: 21.19 kB / 4.017 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002637/9.796, allocations: 0.6239 MB / 4.017 GB, free: 31.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007369/9.797, allocations: 246.1 kB / 4.017 GB, free: 31.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/9.799, allocations: 1.856 MB / 4.019 GB, free: 30.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/9.8, allocations: 129.6 kB / 4.019 GB, free: 30.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/9.8, allocations: 76.81 kB / 4.019 GB, free: 30.44 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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 {1 4,3 28} Notification: Performance of prepare postOptimizeDAE: time 0.0007111/9.801, allocations: 335.4 kB / 4.02 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/9.801, allocations: 106 kB / 4.02 GB, free: 30.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005971/9.807, allocations: 4.524 MB / 4.024 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-05/9.807, allocations: 60.47 kB / 4.024 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/9.807, allocations: 0 / 4.024 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/9.807, allocations: 3.703 kB / 4.024 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008923/9.816, allocations: 6.318 MB / 4.03 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/9.816, allocations: 2.688 kB / 4.03 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/9.817, allocations: 167.8 kB / 4.031 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/9.819, allocations: 0.6878 MB / 4.031 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.536e-05/9.819, allocations: 21.98 kB / 4.031 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/9.82, allocations: 1.801 MB / 4.033 GB, free: 28.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/9.82, allocations: 0 / 4.033 GB, free: 28.22 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00554/9.826, allocations: 4.003 MB / 4.037 GB, free: 27.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/9.827, allocations: 427.4 kB / 4.037 GB, free: 27.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/9.827, allocations: 19.56 kB / 4.037 GB, free: 27.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008005/9.828, allocations: 85.88 kB / 4.038 GB, free: 27.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/9.828, allocations: 78.42 kB / 4.038 GB, free: 27.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/9.829, allocations: 35.77 kB / 4.038 GB, free: 27.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001173/9.83, allocations: 0.653 MB / 4.038 GB, free: 27.49 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.81e-07/9.83, allocations: 0 / 4.038 GB, free: 27.49 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00978/9.84, allocations: 1.536 MB / 4.04 GB, free: 27.42 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01964/9.859, allocations: 6.376 MB / 4.046 GB, free: 26.38 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004287/9.864, allocations: 1.698 MB / 4.048 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/9.864, allocations: 2.625 kB / 4.048 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002459/9.866, allocations: 1.215 MB / 4.049 GB, free: 26.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/9.87, allocations: 0.4968 MB / 4.049 GB, free: 26.32 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03306/9.903, allocations: 22.46 MB / 4.071 GB, free: 26.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/9.904, allocations: 1.422 MB / 4.073 GB, free: 25.37 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002067/9.906, allocations: 0.5919 MB / 4.073 GB, free: 25.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000903/9.907, allocations: 0.6514 MB / 4.074 GB, free: 25.35 MB / 0.5573 GB Notification: Performance of SimCode: time 2.785e-06/9.907, allocations: 1.781 kB / 4.074 GB, free: 25.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/10.07, allocations: 73.52 MB / 4.146 GB, free: 22.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002854/10.07, allocations: 275.3 kB / 4.146 GB, free: 21.83 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.514/15.59, allocations: 6.812 kB / 4.146 GB, free: 21.83 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat