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.002102/0.002102, allocations: 183.9 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 2.081/2.081, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001107/0.001107, allocations: 88.08 kB / 267 MB, free: 9.277 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.5671/0.5671, allocations: 43.46 MB / 358.6 MB, free: 51.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.401e-05/5.41e-05, allocations: 8 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1807, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.662/7.843, allocations: 2.787 GB / 3.26 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/7.843, allocations: 86.48 kB / 3.26 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.587/10.43, allocations: 0.6558 GB / 3.916 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.124e-06/10.43, allocations: 0 / 3.916 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.519e-05/10.43, allocations: 29.81 kB / 3.916 GB, free: 26.63 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.009838/10.44, allocations: 2.386 MB / 3.918 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/10.44, allocations: 12.39 kB / 3.918 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003289/10.44, allocations: 163.4 kB / 3.918 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004871/10.45, allocations: 0.5802 MB / 3.919 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/10.45, allocations: 0.8332 MB / 3.92 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/10.45, allocations: 215.5 kB / 3.92 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/10.45, allocations: 101.1 kB / 3.92 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003833/10.45, allocations: 1.851 MB / 3.922 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.31e-05/10.45, allocations: 7.531 kB / 3.922 GB, free: 23.49 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/10.45, allocations: 52.09 kB / 3.922 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.07e-05/10.45, allocations: 46.48 kB / 3.922 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/10.46, allocations: 1.596 MB / 3.924 GB, free: 22.95 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.009181/10.47, allocations: 8.605 MB / 3.932 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/10.47, allocations: 0.9867 MB / 3.933 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/10.47, allocations: 367.7 kB / 3.933 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03946/10.51, allocations: 25.1 MB / 3.958 GB, free: 9.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.521e-05/10.51, allocations: 43.12 kB / 3.958 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001115/10.51, allocations: 126.4 kB / 3.958 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 4.077e-06/10.51, allocations: 0 / 3.958 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.008092/10.52, allocations: 3.017 MB / 3.961 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/10.52, allocations: 119.5 kB / 3.961 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/10.52, allocations: 0.731 MB / 3.962 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.144e-05/10.52, allocations: 37.7 kB / 3.962 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/10.52, allocations: 0.5684 MB / 3.962 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/10.52, allocations: 282.3 kB / 3.963 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/10.52, allocations: 24 kB / 3.963 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001768/10.52, allocations: 406.7 kB / 3.963 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/10.52, allocations: 370.5 kB / 3.963 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009613/10.52, allocations: 0.9378 MB / 3.964 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007742/10.52, allocations: 0.5251 MB / 3.965 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/10.52, allocations: 4 kB / 3.965 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00266/10.52, allocations: 1.591 MB / 3.966 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/10.52, allocations: 16.62 kB / 3.966 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/10.52, allocations: 19.19 kB / 3.966 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4126/10.94, allocations: 0.5416 MB / 3.967 GB, free: 47.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/10.94, allocations: 252.8 kB / 3.967 GB, free: 47.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/10.94, allocations: 1.745 MB / 3.969 GB, free: 46.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/10.94, allocations: 129.7 kB / 3.969 GB, free: 46.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/10.94, allocations: 78.58 kB / 3.969 GB, free: 46.66 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 () * 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.0003019/10.94, allocations: 207.4 kB / 3.969 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/10.94, allocations: 102.8 kB / 3.969 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006224/10.95, allocations: 4.557 MB / 3.974 GB, free: 46.22 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.458e-05/10.95, allocations: 57.91 kB / 3.974 GB, free: 46.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/10.95, allocations: 0.6562 kB / 3.974 GB, free: 46.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/10.95, allocations: 6.094 kB / 3.974 GB, free: 46.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007236/10.96, allocations: 6.259 MB / 3.98 GB, free: 45.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/10.96, allocations: 1.625 kB / 3.98 GB, free: 45.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006729/10.96, allocations: 168.7 kB / 3.98 GB, free: 45.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/10.96, allocations: 0.7826 MB / 3.981 GB, free: 45.67 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.643e-05/10.96, allocations: 30.75 kB / 3.981 GB, free: 45.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/10.96, allocations: 1.796 MB / 3.983 GB, free: 44.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/10.96, allocations: 0 / 3.983 GB, free: 44.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/10.96, allocations: 3.802 MB / 3.986 GB, free: 44.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009521/10.97, allocations: 430.1 kB / 3.987 GB, free: 44.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/10.97, allocations: 20.69 kB / 3.987 GB, free: 44.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007702/10.97, allocations: 92.03 kB / 3.987 GB, free: 44.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/10.97, allocations: 71.23 kB / 3.987 GB, free: 44.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.431e-05/10.97, allocations: 35.36 kB / 3.987 GB, free: 44.03 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000953/10.97, allocations: 0.6389 MB / 3.988 GB, free: 43.91 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/10.97, allocations: 0 / 3.988 GB, free: 43.91 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008142/10.98, allocations: 1.543 MB / 3.989 GB, free: 43.91 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 () * 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.01741/10.99, allocations: 6.173 MB / 3.995 GB, free: 42.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003779/11, allocations: 1.552 MB / 3.997 GB, free: 42.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.056e-05/11, allocations: 2.719 kB / 3.997 GB, free: 42.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002148/11, allocations: 1.153 MB / 3.998 GB, free: 42.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/11, allocations: 0.4972 MB / 3.998 GB, free: 42.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01072/11.01, allocations: 3.66 MB / 4.002 GB, free: 42.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/11.01, allocations: 1.421 MB / 4.003 GB, free: 41.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001712/11.02, allocations: 0.5844 MB / 4.004 GB, free: 41.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008112/11.02, allocations: 0.6535 MB / 4.005 GB, free: 41.48 MB / 0.5261 GB Notification: Performance of SimCode: time 1.463e-06/11.02, allocations: 0 / 4.005 GB, free: 41.48 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1478/11.16, allocations: 77.29 MB / 4.08 GB, free: 38 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/11.17, allocations: 254.2 kB / 4.08 GB, free: 37.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.074/16.24, allocations: 0 / 4.08 GB, free: 37.66 MB / 0.5261 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