Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001604/0.001603, allocations: 180.3 kB / 13.66 MB, free: 1.664 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.104/2.104, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001108/0.001107, allocations: 86.64 kB / 267.5 MB, free: 14.12 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.2833/0.2833, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.937e-05/3.955e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.124, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.529/8.653, allocations: 2.787 GB / 3.26 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/8.654, allocations: 86.33 kB / 3.26 GB, free: 53.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.338/11.99, allocations: 0.6559 GB / 3.916 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.146e-06/11.99, allocations: 4 kB / 3.916 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002502/11.99, allocations: 24 kB / 3.916 GB, free: 14.98 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.01678/12.01, allocations: 2.382 MB / 3.918 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.82e-05/12.01, allocations: 11.97 kB / 3.918 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009869/12.01, allocations: 164.4 kB / 3.918 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/12.02, allocations: 0.5761 MB / 3.919 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005221/12.03, allocations: 0.8403 MB / 3.92 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005901/12.03, allocations: 209.5 kB / 3.92 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007336/12.03, allocations: 100 kB / 3.92 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01175/12.04, allocations: 1.854 MB / 3.922 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/12.04, allocations: 7.938 kB / 3.922 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004547/12.04, allocations: 44 kB / 3.922 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/12.04, allocations: 53.92 kB / 3.922 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01102/12.05, allocations: 1.589 MB / 3.924 GB, free: 6.918 MB / 0.5261 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.4319/12.49, allocations: 8.597 MB / 3.932 GB, free: 46.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004296/12.49, allocations: 0.985 MB / 3.933 GB, free: 46.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/12.49, allocations: 372.6 kB / 3.933 GB, free: 46.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07061/12.56, allocations: 25.08 MB / 3.958 GB, free: 27.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.069e-05/12.56, allocations: 43.89 kB / 3.958 GB, free: 27.17 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001465/12.56, allocations: 123.3 kB / 3.958 GB, free: 27.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 8.005e-06/12.56, allocations: 4.031 kB / 3.958 GB, free: 27.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.01504/12.58, allocations: 3.02 MB / 3.961 GB, free: 26.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/12.58, allocations: 116.4 kB / 3.961 GB, free: 26.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/12.58, allocations: 0.74 MB / 3.962 GB, free: 26.46 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002636/12.58, allocations: 39.67 kB / 3.962 GB, free: 26.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005522/12.58, allocations: 0.5823 MB / 3.962 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004656/12.58, allocations: 283.5 kB / 3.963 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/12.58, allocations: 22.75 kB / 3.963 GB, free: 25.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001385/12.58, allocations: 364.5 kB / 3.963 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/12.58, allocations: 375.4 kB / 3.963 GB, free: 25.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/12.58, allocations: 0.9318 MB / 3.964 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/12.59, allocations: 0.5274 MB / 3.965 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.349e-05/12.59, allocations: 3.406 kB / 3.965 GB, free: 24.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.004184/12.59, allocations: 1.546 MB / 3.966 GB, free: 24.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/12.59, allocations: 18.67 kB / 3.966 GB, free: 24.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/12.59, allocations: 19 kB / 3.966 GB, free: 24.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003686/12.59, allocations: 0.5446 MB / 3.967 GB, free: 24.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/12.6, allocations: 254.8 kB / 3.967 GB, free: 24.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/12.6, allocations: 1.754 MB / 3.969 GB, free: 23.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/12.6, allocations: 130.7 kB / 3.969 GB, free: 23.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002942/12.6, allocations: 75.47 kB / 3.969 GB, free: 23.77 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.0004345/12.6, allocations: 213.8 kB / 3.969 GB, free: 23.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003627/12.6, allocations: 103.6 kB / 3.969 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007609/12.61, allocations: 4.546 MB / 3.974 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.245e-05/12.61, allocations: 62.61 kB / 3.974 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/12.61, allocations: 0 / 3.974 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-05/12.61, allocations: 6.891 kB / 3.974 GB, free: 23.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/12.62, allocations: 6.257 MB / 3.98 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/12.62, allocations: 0 / 3.98 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/12.62, allocations: 164.7 kB / 3.98 GB, free: 22.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002713/12.62, allocations: 0.7896 MB / 3.981 GB, free: 22.59 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000184/12.62, allocations: 26.69 kB / 3.981 GB, free: 22.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002027/12.63, allocations: 1.787 MB / 3.983 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/12.63, allocations: 3.875 kB / 3.983 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006474/12.63, allocations: 3.798 MB / 3.986 GB, free: 21.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/12.63, allocations: 430 kB / 3.987 GB, free: 20.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003199/12.63, allocations: 19.81 kB / 3.987 GB, free: 20.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/12.64, allocations: 88.61 kB / 3.987 GB, free: 20.95 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/12.64, allocations: 72.91 kB / 3.987 GB, free: 20.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/12.64, allocations: 39.86 kB / 3.987 GB, free: 20.95 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001394/12.64, allocations: 0.6425 MB / 3.988 GB, free: 20.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.41e-07/12.64, allocations: 0 / 3.988 GB, free: 20.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007878/12.65, allocations: 1.54 MB / 3.989 GB, free: 20.75 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.01928/12.67, allocations: 6.173 MB / 3.995 GB, free: 19.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00382/12.67, allocations: 1.547 MB / 3.997 GB, free: 19.67 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/12.67, allocations: 4.656 kB / 3.997 GB, free: 19.67 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002167/12.67, allocations: 1.158 MB / 3.998 GB, free: 19.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004714/12.68, allocations: 0.4965 MB / 3.998 GB, free: 19.65 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/12.69, allocations: 3.705 MB / 4.002 GB, free: 18.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/12.69, allocations: 1.412 MB / 4.003 GB, free: 18.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/12.69, allocations: 0.6603 MB / 4.004 GB, free: 18.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.994e-06/12.69, allocations: 0 / 4.004 GB, free: 18.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.563/17.25, allocations: 62.2 MB / 4.065 GB, free: 14.08 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumesPressureStates.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1)