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.001505/0.001505, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.3 MB / 214.1 MB, free: 14.08 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001217/0.001217, allocations: 85.27 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4577/0.4577, allocations: 43.5 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.934e-05/2.948e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4408, allocations: 58.85 MB / 477.2 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.195/8.635, allocations: 2.786 GB / 3.252 GB, free: 3.293 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/8.636, allocations: 82.89 kB / 3.253 GB, free: 3.25 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 3.849/12.48, allocations: 0.6499 GB / 3.902 GB, free: 49.83 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.404e-06/12.48, allocations: 0 / 3.902 GB, free: 49.83 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001095/12.48, allocations: 29.62 kB / 3.902 GB, free: 49.82 MB / 0.5108 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.01108/12.5, allocations: 2.385 MB / 3.905 GB, free: 48.72 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/12.5, allocations: 9.438 kB / 3.905 GB, free: 48.72 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007523/12.5, allocations: 0.5813 MB / 3.905 GB, free: 48.66 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/12.51, allocations: 0.8319 MB / 3.906 GB, free: 48.38 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/12.51, allocations: 177.5 kB / 3.906 GB, free: 48.25 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002809/12.51, allocations: 64.73 kB / 3.906 GB, free: 48.25 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003085/12.51, allocations: 1.156 MB / 3.908 GB, free: 48.24 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003101/12.51, allocations: 1.376 MB / 3.909 GB, free: 47.84 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.323e-05/12.51, allocations: 9.281 kB / 3.909 GB, free: 47.84 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/12.51, allocations: 7.656 kB / 3.909 GB, free: 47.84 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.675e-05/12.51, allocations: 45.36 kB / 3.909 GB, free: 47.84 MB / 0.5108 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.1145/12.63, allocations: 40.92 MB / 3.949 GB, free: 22.25 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/12.63, allocations: 0.5674 MB / 3.949 GB, free: 22.21 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007312/12.63, allocations: 322.1 kB / 3.95 GB, free: 22.21 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0698/12.7, allocations: 25.08 MB / 3.974 GB, free: 18.7 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.358e-05/12.7, allocations: 42.12 kB / 3.974 GB, free: 18.66 MB / 0.5265 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001193/12.7, allocations: 110.6 kB / 3.974 GB, free: 18.61 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=64): time 5.38e-06/12.7, allocations: 3 kB / 3.974 GB, free: 18.61 MB / 0.5265 GB Notification: Performance of matching and sorting (n=72): time 0.01516/12.72, allocations: 2.814 MB / 3.977 GB, free: 18.11 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/12.72, allocations: 111.5 kB / 3.977 GB, free: 17.98 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/12.72, allocations: 0.6558 MB / 3.978 GB, free: 17.83 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0002251/12.72, allocations: 29.7 kB / 3.978 GB, free: 17.8 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004597/12.72, allocations: 0.6093 MB / 3.979 GB, free: 17.39 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003015/12.72, allocations: 252.4 kB / 3.979 GB, free: 17.23 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.429e-05/12.72, allocations: 0 / 3.979 GB, free: 17.23 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001825/12.72, allocations: 359 kB / 3.979 GB, free: 16.92 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008441/12.72, allocations: 347.4 kB / 3.979 GB, free: 16.92 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/12.72, allocations: 0.9004 MB / 3.98 GB, free: 16.2 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003154/12.73, allocations: 0.6357 MB / 3.981 GB, free: 16.16 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-05/12.73, allocations: 7.094 kB / 3.981 GB, free: 16.16 MB / 0.5265 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.005918/12.73, allocations: 1.524 MB / 3.982 GB, free: 16.06 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 3.955e-05/12.73, allocations: 12.28 kB / 3.982 GB, free: 16.06 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.127e-05/12.73, allocations: 20.38 kB / 3.982 GB, free: 16.06 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002248/12.73, allocations: 460.7 kB / 3.983 GB, free: 16.03 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/12.74, allocations: 253.7 kB / 3.983 GB, free: 16.03 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/12.74, allocations: 1.808 MB / 3.985 GB, free: 14.97 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/12.74, allocations: 123.9 kB / 3.985 GB, free: 14.95 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000275/12.74, allocations: 81.66 kB / 3.985 GB, free: 14.95 MB / 0.5265 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 (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],mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase,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.0003983/12.74, allocations: 164.8 kB / 3.985 GB, free: 14.82 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004365/12.75, allocations: 0.9777 MB / 3.986 GB, free: 14.71 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003643/12.75, allocations: 93.64 kB / 3.986 GB, free: 14.66 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007793/12.75, allocations: 4.069 MB / 3.99 GB, free: 14.23 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.368e-05/12.75, allocations: 62.59 kB / 3.99 GB, free: 14.22 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/12.75, allocations: 0 / 3.99 GB, free: 14.22 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/12.75, allocations: 2.859 kB / 3.99 GB, free: 14.22 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01103/12.77, allocations: 5.559 MB / 3.996 GB, free: 13.64 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/12.77, allocations: 2.469 kB / 3.996 GB, free: 13.64 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/12.77, allocations: 139.8 kB / 3.996 GB, free: 13.64 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0021/12.77, allocations: 0.7232 MB / 3.997 GB, free: 13.59 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/12.77, allocations: 17.98 kB / 3.997 GB, free: 13.59 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00329/12.77, allocations: 1.909 MB / 3.998 GB, free: 28.53 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/12.77, allocations: 2.625 kB / 3.998 GB, free: 28.53 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006766/12.78, allocations: 3.672 MB / 4.002 GB, free: 28.09 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009322/12.78, allocations: 355.5 kB / 4.002 GB, free: 27.88 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/12.78, allocations: 4.062 kB / 4.002 GB, free: 27.88 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/12.78, allocations: 68.53 kB / 4.002 GB, free: 27.87 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/12.78, allocations: 70.23 kB / 4.003 GB, free: 27.86 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/12.78, allocations: 41.69 kB / 4.003 GB, free: 27.86 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.000884/12.78, allocations: 468.4 kB / 4.003 GB, free: 27.77 MB / 0.5421 GB Notification: Performance of sort global known variables: time 4.31e-07/12.78, allocations: 0 / 4.003 GB, free: 27.77 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.007537/12.79, allocations: 1.458 MB / 4.004 GB, free: 27.53 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 31 ($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,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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.0193/12.81, allocations: 6.319 MB / 4.011 GB, free: 26.02 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.003303/12.81, allocations: 1.433 MB / 4.012 GB, free: 25.55 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 8.937e-06/12.81, allocations: 6.5 kB / 4.012 GB, free: 25.55 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001975/12.82, allocations: 1.07 MB / 4.013 GB, free: 25.05 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00392/12.82, allocations: 392.9 kB / 4.013 GB, free: 24.96 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/12.83, allocations: 3.411 MB / 4.017 GB, free: 21.95 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/12.83, allocations: 1.369 MB / 4.018 GB, free: 20.78 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/12.83, allocations: 0.6032 MB / 4.019 GB, free: 20.23 MB / 0.5421 GB Notification: Performance of SimCode: time 1.122e-06/12.83, allocations: 0 / 4.019 GB, free: 20.23 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.227/18.06, allocations: 60 MB / 4.077 GB, free: 76.24 MB / 0.5421 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)