Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008806/0.008806, allocations: 165.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.113/1.113, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00158/0.00158, allocations: 118.6 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3141/0.3141, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004218/0.0004219, allocations: 12 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1183, allocations: 48.7 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.916/7.034, allocations: 2.507 GB / 2.909 GB, free: 100.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000484/7.035, allocations: 85.27 kB / 2.909 GB, free: 100.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.16/10.19, allocations: 0.6372 GB / 3.546 GB, free: 34.01 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.14e-06/10.19, allocations: 0 / 3.546 GB, free: 34.01 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001463/10.19, allocations: 34.92 kB / 3.546 GB, free: 34.01 MB / 458.7 MB 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.01611/10.21, allocations: 2.414 MB / 3.548 GB, free: 32.94 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.422e-05/10.21, allocations: 11.31 kB / 3.548 GB, free: 32.94 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006314/10.22, allocations: 0.5343 MB / 3.549 GB, free: 32.88 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/10.22, allocations: 0.8385 MB / 3.55 GB, free: 32.59 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002717/10.22, allocations: 222.2 kB / 3.55 GB, free: 32.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/10.22, allocations: 102.6 kB / 3.55 GB, free: 32.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004558/10.23, allocations: 1.837 MB / 3.552 GB, free: 32.06 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.938e-05/10.23, allocations: 6.844 kB / 3.552 GB, free: 32.06 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/10.23, allocations: 53.7 kB / 3.552 GB, free: 32.06 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.841e-05/10.23, allocations: 47.22 kB / 3.552 GB, free: 32.06 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004891/10.23, allocations: 1.671 MB / 3.553 GB, free: 32.05 MB / 458.7 MB 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.0167/10.25, allocations: 8.435 MB / 3.562 GB, free: 26.46 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/10.25, allocations: 0.9341 MB / 3.563 GB, free: 26.44 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1257/10.38, allocations: 57.26 MB / 3.619 GB, free: 22.04 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/10.38, allocations: 42.72 kB / 3.619 GB, free: 22 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001531/10.38, allocations: 110.7 kB / 3.619 GB, free: 21.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 9.848e-06/10.38, allocations: 0 / 3.619 GB, free: 21.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=77): time 0.01299/10.39, allocations: 3.346 MB / 3.622 GB, free: 21.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/10.39, allocations: 112.8 kB / 3.622 GB, free: 21.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/10.39, allocations: 0.6976 MB / 3.623 GB, free: 21.06 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001501/10.39, allocations: 42.08 kB / 3.623 GB, free: 21.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005807/10.39, allocations: 0.5981 MB / 3.623 GB, free: 20.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/10.39, allocations: 279.7 kB / 3.624 GB, free: 20.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/10.39, allocations: 25.34 kB / 3.624 GB, free: 20.52 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003083/10.4, allocations: 411.8 kB / 3.624 GB, free: 20.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001004/10.4, allocations: 414.5 kB / 3.624 GB, free: 20.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/10.4, allocations: 1.043 MB / 3.625 GB, free: 19.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/10.4, allocations: 0.573 MB / 3.626 GB, free: 19.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.239e-05/10.4, allocations: 5.531 kB / 3.626 GB, free: 19.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.004176/10.4, allocations: 1.744 MB / 3.628 GB, free: 19.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/10.4, allocations: 14.22 kB / 3.628 GB, free: 19.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.214e-05/10.4, allocations: 18.81 kB / 3.628 GB, free: 19.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002956/10.41, allocations: 0.6176 MB / 3.628 GB, free: 19.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/10.41, allocations: 260.1 kB / 3.629 GB, free: 19.19 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002612/10.41, allocations: 1.806 MB / 3.63 GB, free: 18.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/10.41, allocations: 122.5 kB / 3.63 GB, free: 18.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/10.41, allocations: 82.78 kB / 3.631 GB, free: 18.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (141): * Single equations (assignments): 139 * 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 27} Notification: Performance of prepare postOptimizeDAE: time 0.001075/10.41, allocations: 348.2 kB / 3.631 GB, free: 17.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003966/10.41, allocations: 99.22 kB / 3.631 GB, free: 17.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007586/10.42, allocations: 4.422 MB / 3.635 GB, free: 17.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.219e-05/10.42, allocations: 62.23 kB / 3.635 GB, free: 17.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/10.42, allocations: 0 / 3.635 GB, free: 17.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/10.42, allocations: 7.406 kB / 3.635 GB, free: 17.44 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/10.43, allocations: 6.171 MB / 3.641 GB, free: 16.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/10.43, allocations: 7.75 kB / 3.641 GB, free: 16.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/10.43, allocations: 136.9 kB / 3.642 GB, free: 16.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002059/10.43, allocations: 0.6828 MB / 3.642 GB, free: 16.77 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/10.43, allocations: 26.34 kB / 3.642 GB, free: 16.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/10.44, allocations: 1.788 MB / 3.644 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/10.44, allocations: 9.188 kB / 3.644 GB, free: 15.71 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006158/10.44, allocations: 3.879 MB / 3.648 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/10.44, allocations: 408.2 kB / 3.648 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004217/10.44, allocations: 19.59 kB / 3.648 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00122/10.45, allocations: 78.2 kB / 3.648 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/10.45, allocations: 71.38 kB / 3.648 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/10.45, allocations: 44.58 kB / 3.648 GB, free: 15.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001304/10.45, allocations: 0.5528 MB / 3.649 GB, free: 14.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.9e-07/10.45, allocations: 0 / 3.649 GB, free: 14.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01007/10.46, allocations: 1.515 MB / 3.65 GB, free: 14.72 MB / 490.7 MB 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,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.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 (80): * Single equations (assignments): 62 * 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.01726/10.47, allocations: 2.146 MB / 3.652 GB, free: 14.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00489/10.48, allocations: 1.646 MB / 3.654 GB, free: 14.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/10.48, allocations: 0 / 3.654 GB, free: 14.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002542/10.48, allocations: 1.193 MB / 3.655 GB, free: 14.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003481/10.49, allocations: 430 kB / 3.656 GB, free: 14.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7793/11.27, allocations: 142.1 MB / 3.794 GB, free: 56.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/11.27, allocations: 1.42 MB / 3.796 GB, free: 56.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001692/11.27, allocations: 0.5444 MB / 3.796 GB, free: 56.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/11.27, allocations: 96.52 kB / 3.796 GB, free: 56.16 MB / 490.7 MB Notification: Performance of SimCode: time 2.635e-06/11.27, allocations: 0 / 3.796 GB, free: 56.16 MB / 490.7 MB Notification: Performance of Templates: time 0.0799/11.35, allocations: 53.73 MB / 3.849 GB, free: 28.02 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1)