Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.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.8181/0.8181, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.402e-05/1.406e-05, allocations: 4 kB / 204.8 MB, free: 9.805 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.166, allocations: 31.97 MB / 236.8 MB, free: 5.332 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.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3): time 1.632/1.798, allocations: 296.1 MB / 0.5204 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5164/2.314, allocations: 186.9 MB / 0.7029 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006452/2.315, allocations: 22.19 kB / 0.7029 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002356/2.315, allocations: 97.3 kB / 0.703 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008287/2.316, allocations: 325 kB / 0.7033 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02606/2.342, allocations: 9.147 MB / 0.7122 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001682/2.344, allocations: 1.269 MB / 0.7135 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006937/2.344, allocations: 0.6145 MB / 0.7141 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004581/2.345, allocations: 424.1 kB / 0.7145 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003994/2.345, allocations: 499.9 kB / 0.7149 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.762e-05/2.345, allocations: 54.75 kB / 0.715 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03278/2.378, allocations: 20.25 MB / 0.7348 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003663/2.379, allocations: 194.5 kB / 0.735 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007573/2.379, allocations: 0.5552 MB / 0.7355 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02543/2.405, allocations: 10.79 MB / 0.746 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/2.405, allocations: 0 / 0.746 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.399e-06/2.405, allocations: 2.969 kB / 0.746 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.673e-05/2.405, allocations: 1.859 kB / 0.746 GB, free: 15.07 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.00577/2.411, allocations: 2.294 MB / 0.7483 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/2.411, allocations: 9.188 kB / 0.7483 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/2.411, allocations: 145.6 kB / 0.7484 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006903/2.412, allocations: 0.5796 MB / 0.749 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.648e-05/2.412, allocations: 95.62 kB / 0.7491 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/2.412, allocations: 123 kB / 0.7492 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/2.414, allocations: 1.284 MB / 0.7505 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/2.414, allocations: 7.469 kB / 0.7505 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.915e-05/2.414, allocations: 59.25 kB / 0.7505 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/2.414, allocations: 32.16 kB / 0.7505 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/2.415, allocations: 0.8367 MB / 0.7514 GB, free: 12.52 MB / 0.5919 GB 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.013/2.428, allocations: 12.21 MB / 0.7633 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/2.429, allocations: 288.2 kB / 0.7636 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/2.429, allocations: 115.2 kB / 0.7637 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4457/2.875, allocations: 212.1 MB / 0.9708 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/2.875, allocations: 34 kB / 0.9708 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/2.875, allocations: 0 / 0.9708 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.003156/2.878, allocations: 1.182 MB / 0.972 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/2.878, allocations: 55.41 kB / 0.972 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/2.879, allocations: 0.7082 MB / 0.9727 GB, free: 148 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/2.879, allocations: 31.27 kB / 0.9727 GB, free: 116 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.1849/3.064, allocations: 0.6074 MB / 0.9733 GB, free: 461.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/3.064, allocations: 113 kB / 0.9734 GB, free: 461.7 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/3.064, allocations: 95.17 kB / 0.9735 GB, free: 461.7 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001401/3.065, allocations: 383.8 kB / 0.9739 GB, free: 461.4 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/3.065, allocations: 171 kB / 0.9741 GB, free: 461.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004468/3.065, allocations: 0.5857 MB / 0.9746 GB, free: 460.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/3.066, allocations: 0.7976 MB / 0.9754 GB, free: 460.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/3.066, allocations: 7.656 kB / 0.9754 GB, free: 460.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002064/3.068, allocations: 1.034 MB / 0.9764 GB, free: 460.1 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/3.068, allocations: 14.28 kB / 0.9764 GB, free: 460.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/3.068, allocations: 16.86 kB / 0.9765 GB, free: 460.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009909/3.069, allocations: 270.9 kB / 0.9767 GB, free: 460 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/3.07, allocations: 144.3 kB / 0.9769 GB, free: 460 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002004/3.072, allocations: 3.717 MB / 0.9805 GB, free: 456.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006548/3.072, allocations: 138.6 kB / 0.9806 GB, free: 456.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/3.072, allocations: 51.64 kB / 0.9807 GB, free: 456.6 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 26 (sourceQ.C.ftype,mixer2_2.Cs.ftype,sourceP3.C.ftype,sourceP2.C.ftype,mixer2_2.fluids[1],singularPressureLoss3.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,sinkP1.fluid,singularPressureLoss6.fluid,sourceQ.fluid1,sourceP3.fluid1,sourceP2.fluid1,mixer2_2.fluid1,mixer2_2.Ce3.diff_on_2,sourceQ.C.diff_on_2,singularPressureLoss6.C2.diff_on_1,mixer2_2.Cs.diff_on_2,singularPressureLoss5.C2.diff_on_1,singularPressureLoss4.C2.diff_on_1,mixer2_2.Ce2.diff_on_2,sourceP3.C.diff_on_2,mixer2_2.Ce1.diff_on_2,sourceP2.C.diff_on_2,mixer2_2.Cs.diff_on_1,singularPressureLoss3.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003562/3.073, allocations: 261.6 kB / 0.9809 GB, free: 456.4 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.914e-05/3.073, allocations: 71.28 kB / 0.981 GB, free: 456.4 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/3.074, allocations: 0.6001 MB / 0.9816 GB, free: 456.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/3.074, allocations: 6.812 kB / 0.9816 GB, free: 456.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/3.074, allocations: 4.047 kB / 0.9816 GB, free: 456.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/3.074, allocations: 2.531 kB / 0.9816 GB, free: 456.3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/3.076, allocations: 1.275 MB / 0.9828 GB, free: 455.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/3.077, allocations: 1.812 kB / 0.9828 GB, free: 455.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.75e-05/3.077, allocations: 21.95 kB / 0.9829 GB, free: 455.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008291/3.077, allocations: 236.6 kB / 0.9831 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/3.077, allocations: 13.73 kB / 0.9831 GB, free: 455.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/3.079, allocations: 3.671 MB / 0.9867 GB, free: 452.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/3.079, allocations: 0 / 0.9867 GB, free: 452.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/3.08, allocations: 0.6331 MB / 0.9873 GB, free: 452.2 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/3.081, allocations: 183.4 kB / 0.9875 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/3.081, allocations: 6.656 kB / 0.9875 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/3.081, allocations: 9.031 kB / 0.9875 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/3.081, allocations: 24.34 kB / 0.9875 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/3.081, allocations: 11.58 kB / 0.9875 GB, free: 452.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005039/3.082, allocations: 459.9 kB / 0.988 GB, free: 452 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/3.082, allocations: 1.031 kB / 0.988 GB, free: 452 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004118/3.086, allocations: 1.64 MB / 0.9896 GB, free: 451.9 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.006328/3.092, allocations: 2.261 MB / 0.9918 GB, free: 451.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001206/3.093, allocations: 0.6186 MB / 0.9924 GB, free: 451.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/3.093, allocations: 0 / 0.9924 GB, free: 451.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000489/3.094, allocations: 290.5 kB / 0.9927 GB, free: 451.4 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009742/3.095, allocations: 197 kB / 0.9928 GB, free: 451.4 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/3.097, allocations: 1.781 MB / 0.9946 GB, free: 450.3 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/3.097, allocations: 0.9962 MB / 0.9955 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0004566/3.098, allocations: 129 kB / 0.9957 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/3.098, allocations: 52.34 kB / 0.9957 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of SimCode: time 7.31e-07/3.098, allocations: 0 / 0.9957 GB, free: 449.6 MB / 0.8106 GB Notification: Performance of Templates: time 0.05982/3.157, allocations: 51.31 MB / 1.046 GB, free: 417.3 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.Volume.TestMixer3.pipe 2>&1) Environment - environmentSimulation: