Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",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.001222/0.001222, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.546/1.546, 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.001047/0.001047, allocations: 94.88 kB / 270.2 MB, free: 13.37 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.218/0.218, allocations: 43.57 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003767/0.0003765, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 58.85 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.914/7.052, allocations: 2.787 GB / 3.266 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003694/7.052, allocations: 93.36 kB / 3.266 GB, free: 54.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.71/9.762, allocations: 0.6577 GB / 3.924 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.347e-06/9.762, allocations: 0 / 3.924 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001746/9.763, allocations: 31.44 kB / 3.924 GB, free: 14.05 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.01497/9.778, allocations: 2.495 MB / 3.926 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 9.151e-05/9.778, allocations: 12.03 kB / 3.926 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001231/9.779, allocations: 172.3 kB / 3.927 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006113/9.785, allocations: 0.5722 MB / 3.927 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/9.788, allocations: 0.824 MB / 3.928 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/9.789, allocations: 213.4 kB / 3.928 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005426/9.789, allocations: 103.9 kB / 3.928 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006471/9.796, allocations: 1.858 MB / 3.93 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.906e-05/9.796, allocations: 7.938 kB / 3.93 GB, free: 7.578 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003132/9.796, allocations: 55.27 kB / 3.93 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.08e-05/9.796, allocations: 45.92 kB / 3.93 GB, free: 7.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004714/9.801, allocations: 1.666 MB / 3.932 GB, free: 5.812 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.4576/10.26, allocations: 8.603 MB / 3.94 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/10.26, allocations: 1.026 MB / 3.941 GB, free: 45.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04427/10.31, allocations: 25.02 MB / 3.966 GB, free: 26.26 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000103/10.31, allocations: 44.53 kB / 3.966 GB, free: 26.22 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001696/10.31, allocations: 120.8 kB / 3.966 GB, free: 26.22 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 5.681e-06/10.31, allocations: 2.844 kB / 3.966 GB, free: 26.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.01407/10.32, allocations: 3.58 MB / 3.969 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/10.32, allocations: 115 kB / 3.969 GB, free: 25.54 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/10.32, allocations: 0.7484 MB / 3.97 GB, free: 25.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/10.32, allocations: 38.73 kB / 3.97 GB, free: 25.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003923/10.32, allocations: 0.5633 MB / 3.971 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/10.32, allocations: 275.6 kB / 3.971 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/10.32, allocations: 24.41 kB / 3.971 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001579/10.32, allocations: 408.9 kB / 3.971 GB, free: 24.67 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008347/10.33, allocations: 446.4 kB / 3.972 GB, free: 24.67 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/10.33, allocations: 0.9988 MB / 3.973 GB, free: 23.97 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/10.33, allocations: 0.5911 MB / 3.973 GB, free: 23.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.126e-06/10.33, allocations: 3.938 kB / 3.973 GB, free: 23.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003404/10.33, allocations: 1.758 MB / 3.975 GB, free: 23.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/10.33, allocations: 11.81 kB / 3.975 GB, free: 23.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/10.33, allocations: 19.75 kB / 3.975 GB, free: 23.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002871/10.33, allocations: 0.6326 MB / 3.976 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000756/10.34, allocations: 254.5 kB / 3.976 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/10.34, allocations: 1.843 MB / 3.978 GB, free: 22.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/10.34, allocations: 130.5 kB / 3.978 GB, free: 22.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001806/10.34, allocations: 79.23 kB / 3.978 GB, free: 22.76 MB / 0.5261 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.0009082/10.34, allocations: 341.5 kB / 3.978 GB, free: 22.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/10.34, allocations: 103.3 kB / 3.978 GB, free: 22.59 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005427/10.35, allocations: 4.522 MB / 3.983 GB, free: 22.19 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.181e-05/10.35, allocations: 68.27 kB / 3.983 GB, free: 22.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/10.35, allocations: 3.844 kB / 3.983 GB, free: 22.19 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/10.35, allocations: 6.391 kB / 3.983 GB, free: 22.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007532/10.35, allocations: 6.301 MB / 3.989 GB, free: 21.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/10.35, allocations: 0 / 3.989 GB, free: 21.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/10.35, allocations: 171.4 kB / 3.989 GB, free: 21.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/10.36, allocations: 0.685 MB / 3.99 GB, free: 21.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/10.36, allocations: 24.2 kB / 3.99 GB, free: 21.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/10.36, allocations: 1.797 MB / 3.992 GB, free: 20.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/10.36, allocations: 0 / 3.992 GB, free: 20.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00499/10.36, allocations: 4.002 MB / 3.995 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/10.36, allocations: 425.6 kB / 3.996 GB, free: 19.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/10.36, allocations: 21.12 kB / 3.996 GB, free: 19.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007503/10.36, allocations: 89.77 kB / 3.996 GB, free: 19.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/10.36, allocations: 76.77 kB / 3.996 GB, free: 19.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.551e-05/10.36, allocations: 38.64 kB / 3.996 GB, free: 19.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001052/10.37, allocations: 0.6534 MB / 3.997 GB, free: 19.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/10.37, allocations: 2.688 kB / 3.997 GB, free: 19.83 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009645/10.38, allocations: 1.536 MB / 3.998 GB, free: 19.76 MB / 0.5261 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.01676/10.39, allocations: 6.365 MB / 4.004 GB, free: 18.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003312/10.4, allocations: 1.684 MB / 4.006 GB, free: 18.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/10.4, allocations: 6.406 kB / 4.006 GB, free: 18.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001556/10.4, allocations: 1.223 MB / 4.007 GB, free: 18.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/10.4, allocations: 0.4976 MB / 4.008 GB, free: 18.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02551/10.43, allocations: 22.44 MB / 4.03 GB, free: 18.42 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/10.43, allocations: 1.422 MB / 4.031 GB, free: 17.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001919/10.43, allocations: 0.5891 MB / 4.032 GB, free: 17.69 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009421/10.43, allocations: 0.6551 MB / 4.032 GB, free: 17.68 MB / 0.5417 GB Notification: Performance of SimCode: time 1.663e-06/10.43, allocations: 0 / 4.032 GB, free: 17.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.149/10.58, allocations: 73.57 MB / 4.104 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003937/10.58, allocations: 273.8 kB / 4.104 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.112/15.69, allocations: 0 / 4.104 GB, free: 13.13 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat does not exist to compare? outputFormat=mat