Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7368/0.7368, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.735e-05/1.729e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1466, allocations: 31.97 MB / 236.8 MB, free: 5.461 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3): time 1.47/1.617, allocations: 295.1 MB / 0.5194 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0401/1.657, allocations: 37.38 MB / 0.5559 GB, free: 6.738 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/1.658, allocations: 8 kB / 0.5559 GB, free: 6.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005102/1.658, allocations: 131.2 kB / 0.556 GB, free: 6.602 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007283/1.659, allocations: 202.4 kB / 0.5562 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0195/1.678, allocations: 7.409 MB / 0.5634 GB, free: 14.99 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008376/1.679, allocations: 0.8086 MB / 0.5642 GB, free: 14.18 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003367/1.679, allocations: 301.2 kB / 0.5645 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/1.68, allocations: 274.6 kB / 0.5648 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/1.68, allocations: 262.5 kB / 0.565 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/1.68, allocations: 24 kB / 0.5651 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02664/1.707, allocations: 17.81 MB / 0.5825 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/1.707, allocations: 87.52 kB / 0.5825 GB, free: 11.42 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004069/1.707, allocations: 347.9 kB / 0.5829 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01684/1.724, allocations: 8.794 MB / 0.5915 GB, free: 2.254 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.724, allocations: 0 / 0.5915 GB, free: 2.254 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/1.724, allocations: 4 kB / 0.5915 GB, free: 2.25 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.527e-05/1.724, allocations: 0 / 0.5915 GB, free: 2.25 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.004082/1.728, allocations: 1.696 MB / 0.5931 GB, free: 0.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/1.728, allocations: 8.031 kB / 0.5931 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/1.729, allocations: 82.91 kB / 0.5932 GB, free: 420 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/1.729, allocations: 351.7 kB / 0.5935 GB, free: 24 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/1.729, allocations: 49.36 kB / 0.5936 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.368e-05/1.729, allocations: 56 kB / 0.5936 GB, free: 15.92 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/1.73, allocations: 0.7684 MB / 0.5944 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/1.73, allocations: 7.938 kB / 0.5944 GB, free: 15.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/1.73, allocations: 24 kB / 0.5944 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/1.73, allocations: 37.75 kB / 0.5945 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006602/1.731, allocations: 464.6 kB / 0.5949 GB, free: 14.57 MB / 494.1 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.02006/1.751, allocations: 13.09 MB / 0.6077 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005677/1.752, allocations: 316.5 kB / 0.608 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/1.752, allocations: 206.3 kB / 0.6082 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1444/1.896, allocations: 77.94 MB / 0.6843 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/1.896, allocations: 34.5 kB / 0.6843 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.254e-06/1.896, allocations: 0 / 0.6843 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.002903/1.899, allocations: 1.373 MB / 0.6857 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/1.899, allocations: 59.28 kB / 0.6857 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/1.9, allocations: 385.4 kB / 0.6861 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/1.9, allocations: 33.7 kB / 0.6861 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/1.9, allocations: 276.4 kB / 0.6864 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/1.9, allocations: 275.9 kB / 0.6866 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/1.9, allocations: 65.67 kB / 0.6867 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.9, allocations: 366.8 kB / 0.6871 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/1.901, allocations: 149.2 kB / 0.6872 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/1.901, allocations: 294.1 kB / 0.6875 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006061/1.901, allocations: 0.4942 MB / 0.688 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.319e-06/1.902, allocations: 4 kB / 0.688 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00129/1.903, allocations: 0.7403 MB / 0.6887 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.903, allocations: 12.03 kB / 0.6887 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.903, allocations: 4 kB / 0.6887 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/1.904, allocations: 0.5078 MB / 0.6892 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.635e-05/1.904, allocations: 23.92 kB / 0.6892 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1584/2.062, allocations: 3.973 MB / 0.6931 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003614/2.063, allocations: 68.05 kB / 0.6932 GB, free: 225.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/2.063, allocations: 20.86 kB / 0.6932 GB, free: 225.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 16 (singularPressureLoss6.C2.b,singularPressureLoss6.C1.a,sourceQ.C.b,sinkP1.C.a,sourceP3.C.b,sourceP2.C.b,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,mixer2_2.Ce3.a,mixer2_2.Ce1.a,mixer2_2.Cs.b,mixer2_2.Ce2.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002305/2.063, allocations: 189.3 kB / 0.6934 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.218e-05/2.063, allocations: 49.91 kB / 0.6934 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001748/2.065, allocations: 1.665 MB / 0.695 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001108/2.066, allocations: 0.8792 MB / 0.6959 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/2.066, allocations: 1.062 kB / 0.6959 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/2.066, allocations: 11.92 kB / 0.6959 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/2.069, allocations: 2.258 MB / 0.6981 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/2.069, allocations: 1.062 kB / 0.6981 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/2.069, allocations: 86.06 kB / 0.6982 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009499/2.07, allocations: 0.5334 MB / 0.6987 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/2.07, allocations: 17.81 kB / 0.6987 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/2.072, allocations: 4.029 MB / 0.7027 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/2.072, allocations: 0 / 0.7027 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/2.074, allocations: 1.069 MB / 0.7037 GB, free: 221.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/2.074, allocations: 209.5 kB / 0.7039 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/2.074, allocations: 19.14 kB / 0.7039 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/2.074, allocations: 29.27 kB / 0.704 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/2.074, allocations: 46.77 kB / 0.704 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/2.074, allocations: 19.09 kB / 0.704 GB, free: 221.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002591/2.075, allocations: 303.4 kB / 0.7043 GB, free: 221 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/2.075, allocations: 0.5312 kB / 0.7043 GB, free: 221 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002661/2.077, allocations: 1.321 MB / 0.7056 GB, free: 220.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004469/2.082, allocations: 1.77 MB / 0.7073 GB, free: 220.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001385/2.083, allocations: 0.9839 MB / 0.7083 GB, free: 220.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/2.083, allocations: 0 / 0.7083 GB, free: 220.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008246/2.084, allocations: 0.5446 MB / 0.7088 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/2.085, allocations: 304.7 kB / 0.7091 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/2.087, allocations: 1.757 MB / 0.7108 GB, free: 219.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/2.087, allocations: 0.9854 MB / 0.7118 GB, free: 218.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002169/2.088, allocations: 65.89 kB / 0.7119 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.441e-05/2.088, allocations: 44.22 kB / 0.7119 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/2.088, allocations: 0 / 0.7119 GB, free: 218.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.04901/2.137, allocations: 49.47 MB / 0.7602 GB, free: 185.3 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3.sim & ./ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe 2>&1) Environment - environmentSimulation: