Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger.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.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.982/0.982, allocations: 150.8 MB / 166.1 MB, free: 15.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.213e-05/2.243e-05, allocations: 4 kB / 204.8 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2468, allocations: 31.98 MB / 236.8 MB, free: 5.23 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.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger): time 1.923/2.17, allocations: 298.1 MB / 0.5223 GB, free: 9.062 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6375/2.807, allocations: 195.1 MB / 0.7129 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/2.809, allocations: 22.62 kB / 0.7129 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008393/2.809, allocations: 314.2 kB / 0.7132 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003111/2.813, allocations: 1.135 MB / 0.7143 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03956/2.852, allocations: 11.11 MB / 0.7251 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009585/2.862, allocations: 7.788 MB / 0.7328 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004996/2.867, allocations: 2.05 MB / 0.7348 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004251/2.871, allocations: 1.939 MB / 0.7366 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005226/2.876, allocations: 2.559 MB / 0.7391 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008842/2.877, allocations: 200.3 kB / 0.7393 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05078/2.928, allocations: 23.16 MB / 0.762 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003125/2.931, allocations: 1.33 MB / 0.7633 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005745/2.937, allocations: 1.935 MB / 0.7651 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0478/2.985, allocations: 16.53 MB / 0.7813 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/2.985, allocations: 0 / 0.7813 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.176e-06/2.985, allocations: 0 / 0.7813 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001826/2.985, allocations: 0 / 0.7813 GB, free: 3.941 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.02292/3.008, allocations: 5.748 MB / 0.7869 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/3.008, allocations: 12.03 kB / 0.7869 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001949/3.01, allocations: 387.6 kB / 0.7873 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003282/3.013, allocations: 1.769 MB / 0.789 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001341/3.015, allocations: 1.209 MB / 0.7902 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007224/3.015, allocations: 284 kB / 0.7905 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/3.032, allocations: 6.851 MB / 0.7971 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-05/3.032, allocations: 0 / 0.7971 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004393/3.032, allocations: 116 kB / 0.7973 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.054e-05/3.032, allocations: 104 kB / 0.7974 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02273/3.055, allocations: 9.519 MB / 0.8067 GB, free: 10.3 MB / 0.6231 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.06153/3.117, allocations: 29.88 MB / 0.8358 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01765/3.134, allocations: 7.044 MB / 0.8427 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01203/3.146, allocations: 4.932 MB / 0.8475 GB, free: 14.57 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8698/4.016, allocations: 226.4 MB / 1.069 GB, free: 147.7 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/4.016, allocations: 77.19 kB / 1.069 GB, free: 147.6 MB / 0.795 GB Notification: Performance of pre-optimization done (n=589): time 5.601e-06/4.016, allocations: 1.312 kB / 1.069 GB, free: 147.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=589): time 0.1198/4.136, allocations: 29.36 MB / 1.097 GB, free: 122.7 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.478e-05/4.136, allocations: 90.34 kB / 1.098 GB, free: 122.6 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/4.138, allocations: 1.102 MB / 1.099 GB, free: 121.8 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.002206/4.14, allocations: 85.77 kB / 1.099 GB, free: 121.8 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000686/4.141, allocations: 0.8003 MB / 1.099 GB, free: 121.2 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.00413/4.145, allocations: 1.963 MB / 1.101 GB, free: 119.5 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002628/4.148, allocations: 399.7 kB / 1.102 GB, free: 119.2 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001076/4.148, allocations: 310.9 kB / 1.102 GB, free: 118.9 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.012/4.16, allocations: 4.303 MB / 1.106 GB, free: 115.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01144/4.172, allocations: 4.865 MB / 1.111 GB, free: 112.3 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02193/4.193, allocations: 9.148 MB / 1.12 GB, free: 105.9 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.602e-05/4.194, allocations: 7.938 kB / 1.12 GB, free: 105.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=675) (initialization): time 0.04356/4.237, allocations: 14.41 MB / 1.134 GB, free: 94.19 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.965e-05/4.237, allocations: 13.44 kB / 1.134 GB, free: 94.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.401e-05/4.237, allocations: 20 kB / 1.134 GB, free: 94.16 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07642/4.314, allocations: 21.56 MB / 1.155 GB, free: 72.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/4.315, allocations: 248 kB / 1.155 GB, free: 72.29 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04235/4.357, allocations: 17.65 MB / 1.173 GB, free: 54.48 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006109/4.363, allocations: 0.9675 MB / 1.174 GB, free: 53.51 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001664/4.365, allocations: 187.8 kB / 1.174 GB, free: 53.33 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 12 (sourceP1.C.ftype,sourceP.C.ftype,sinkP.fluid,dynamicMultiFluidHeatExchanger.ExchangerFlueGasesMetal.fluid,dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1,dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.C1.diff_on_2,dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.C2.diff_on_1,dynamicMultiFluidHeatExchanger.ExchangerFlueGasesMetal.C1.diff_on_2,dynamicMultiFluidHeatExchanger.ExchangerFlueGasesMetal.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (23,317)} Notification: Performance of prepare postOptimizeDAE: time 0.00405/4.369, allocations: 0.9382 MB / 1.175 GB, free: 52.4 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001668/4.371, allocations: 264.6 kB / 1.175 GB, free: 52.14 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04053/4.411, allocations: 15.21 MB / 1.19 GB, free: 36.84 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03936/4.451, allocations: 13.54 MB / 1.203 GB, free: 23.23 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.438e-05/4.451, allocations: 0 / 1.203 GB, free: 23.23 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001488/4.451, allocations: 23.91 kB / 1.203 GB, free: 23.21 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07098/4.522, allocations: 23.94 MB / 1.226 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001333/4.522, allocations: 11.56 kB / 1.226 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004386/4.527, allocations: 0.8196 MB / 1.227 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02793/4.555, allocations: 6.642 MB / 1.234 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00192/4.557, allocations: 159.8 kB / 1.234 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.294/4.851, allocations: 28.69 MB / 1.262 GB, free: 452 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/4.851, allocations: 1.562 kB / 1.262 GB, free: 452 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06445/4.915, allocations: 20.57 MB / 1.282 GB, free: 451.3 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003842/4.919, allocations: 1.202 MB / 1.283 GB, free: 450.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001937/4.921, allocations: 90.48 kB / 1.283 GB, free: 450.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005992/4.927, allocations: 0.6889 MB / 1.284 GB, free: 450.6 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002158/4.929, allocations: 354.7 kB / 1.284 GB, free: 450.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001395/4.931, allocations: 179.3 kB / 1.284 GB, free: 450.5 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001368/4.932, allocations: 0.7346 MB / 1.285 GB, free: 450.2 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.6e-07/4.932, allocations: 0 / 1.285 GB, free: 450.2 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.01221/4.944, allocations: 2.954 MB / 1.288 GB, free: 449.8 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (dynamicMultiFluidHeatExchanger.ExchangerWall.Tp[1],dynamicMultiFluidHeatExchanger.ExchangerWall.Tp[2],dynamicMultiFluidHeatExchanger.ExchangerWall.Tp[3],dynamicMultiFluidHeatExchanger.ExchangerWall.Tp[4],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[2],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[3],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[4],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.P[5],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.h[2],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.h[3],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.h[4],dynamicMultiFluidHeatExchanger.TwoPhaseFlowPipe.h[5]) * 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 (310): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 11 systems {(1,8), (1,8), (1,15), (1,8), (1,15), (1,8), (1,15), (1,15), (1,15), (1,1), (8,60)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01269/4.957, allocations: 2.958 MB / 1.291 GB, free: 449.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.02939/4.986, allocations: 11.38 MB / 1.302 GB, free: 443.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/4.986, allocations: 0 / 1.302 GB, free: 443.7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.01694/5.003, allocations: 6.986 MB / 1.309 GB, free: 437.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009831/5.013, allocations: 1.081 MB / 1.31 GB, free: 436.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03891/5.052, allocations: 15.54 MB / 1.325 GB, free: 421 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003375/5.056, allocations: 2.532 MB / 1.327 GB, free: 418.4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003685/5.059, allocations: 0.7474 MB / 1.328 GB, free: 417.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/5.061, allocations: 231.2 kB / 1.328 GB, free: 417.5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.002e-06/5.061, allocations: 2.531 kB / 1.328 GB, free: 417.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.2206/5.281, allocations: 176.3 MB / 1.501 GB, free: 242.5 MB / 0.8262 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicFlueGasesMultiFluidHeatExchanger.pipe 2>&1) Environment - environmentSimulation: