Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.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.TestDynamicMultiFluidHeatExchangerShell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8653/0.8653, allocations: 150.8 MB / 166.1 MB, free: 15.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.684e-05/1.686e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2023, allocations: 31.97 MB / 236.8 MB, free: 5.414 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.TestDynamicMultiFluidHeatExchangerShell): time 1.779/1.981, allocations: 297.1 MB / 0.5214 GB, free: 9.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6697/2.651, allocations: 195.4 MB / 0.7122 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/2.652, allocations: 26.41 kB / 0.7122 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008799/2.653, allocations: 198.2 kB / 0.7124 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002647/2.656, allocations: 0.8103 MB / 0.7132 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0398/2.695, allocations: 11.32 MB / 0.7243 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006937/2.702, allocations: 6.252 MB / 0.7304 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003529/2.706, allocations: 1.611 MB / 0.7319 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/2.709, allocations: 1.373 MB / 0.7333 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003917/2.713, allocations: 2.039 MB / 0.7353 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005734/2.714, allocations: 171.3 kB / 0.7354 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04809/2.762, allocations: 23.22 MB / 0.7581 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001517/2.763, allocations: 1.114 MB / 0.7592 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002474/2.766, allocations: 1.473 MB / 0.7606 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.04846/2.814, allocations: 15.73 MB / 0.776 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/2.814, allocations: 4 kB / 0.776 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.074e-06/2.814, allocations: 0 / 0.776 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.000209/2.815, allocations: 0 / 0.776 GB, free: 7.305 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: 657 * Number of variables: 657 Notification: Performance of Generate backend data structure: time 0.02565/2.84, allocations: 4.179 MB / 0.7801 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/2.84, allocations: 8.031 kB / 0.7801 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/2.842, allocations: 288.8 kB / 0.7804 GB, free: 3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003205/2.845, allocations: 1.549 MB / 0.7819 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003443/2.846, allocations: 326.5 kB / 0.7822 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004932/2.846, allocations: 246.2 kB / 0.7824 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008071/2.854, allocations: 4.423 MB / 0.7867 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.479e-05/2.854, allocations: 0 / 0.7867 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003206/2.855, allocations: 104 kB / 0.7868 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.93e-05/2.855, allocations: 64 kB / 0.7869 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/2.867, allocations: 7.909 MB / 0.7946 GB, free: 6.324 MB / 0.6075 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.2293/3.096, allocations: 112.5 MB / 0.9045 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/3.107, allocations: 5.049 MB / 0.9094 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005219/3.112, allocations: 2.364 MB / 0.9117 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8831/3.996, allocations: 364.2 MB / 1.267 GB, free: 132 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.826e-05/3.996, allocations: 64.14 kB / 1.267 GB, free: 131.9 MB / 0.795 GB Notification: Performance of pre-optimization done (n=319): time 5.651e-06/3.996, allocations: 0 / 1.267 GB, free: 131.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=319): time 0.02056/4.016, allocations: 8.223 MB / 1.275 GB, free: 126.3 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/4.016, allocations: 110.6 kB / 1.276 GB, free: 126.2 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/4.018, allocations: 1.006 MB / 1.277 GB, free: 125.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002815/4.018, allocations: 73.7 kB / 1.277 GB, free: 125.1 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/4.018, allocations: 0.7377 MB / 1.277 GB, free: 124.4 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008215/4.019, allocations: 1.083 MB / 1.278 GB, free: 123.3 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003455/4.02, allocations: 251.8 kB / 1.279 GB, free: 123.1 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.909e-05/4.02, allocations: 309.1 kB / 1.279 GB, free: 122.8 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003117/4.023, allocations: 1.926 MB / 1.281 GB, free: 120.8 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003235/4.026, allocations: 2.412 MB / 1.283 GB, free: 118.3 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006514/4.033, allocations: 4.665 MB / 1.288 GB, free: 113.4 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/4.033, allocations: 4 kB / 1.288 GB, free: 113.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=377) (initialization): time 0.0138/4.046, allocations: 7.153 MB / 1.295 GB, free: 106.2 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/4.046, allocations: 17.19 kB / 1.295 GB, free: 106.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/4.046, allocations: 12.56 kB / 1.295 GB, free: 106.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0498/4.096, allocations: 10.07 MB / 1.305 GB, free: 96.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009236/4.097, allocations: 217.6 kB / 1.305 GB, free: 96.04 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01646/4.114, allocations: 7.945 MB / 1.313 GB, free: 88.01 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/4.116, allocations: 317 kB / 1.313 GB, free: 87.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/4.117, allocations: 151.9 kB / 1.313 GB, free: 87.55 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 12 (sourceP1.C.ftype,sourceP.C.ftype,sinkP.fluid,dynamicMultiFluidHeatExchangerShell.dynamicOnePhaseFlowShell.fluid,dynamicMultiFluidHeatExchangerShell.DynamicOnePhaseFlowPipe.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1,dynamicMultiFluidHeatExchangerShell.DynamicOnePhaseFlowPipe.C1.diff_on_2,dynamicMultiFluidHeatExchangerShell.DynamicOnePhaseFlowPipe.C2.diff_on_1,dynamicMultiFluidHeatExchangerShell.dynamicOnePhaseFlowShell.C1.diff_on_2,dynamicMultiFluidHeatExchangerShell.dynamicOnePhaseFlowShell.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(22,246)} Notification: Performance of prepare postOptimizeDAE: time 0.001268/4.118, allocations: 0.6687 MB / 1.314 GB, free: 86.87 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004606/4.118, allocations: 202.6 kB / 1.314 GB, free: 86.67 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01658/4.135, allocations: 8.231 MB / 1.322 GB, free: 78.44 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/4.135, allocations: 32 kB / 1.322 GB, free: 78.41 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/4.135, allocations: 1.781 kB / 1.322 GB, free: 78.41 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.933e-05/4.135, allocations: 15.94 kB / 1.322 GB, free: 78.39 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01965/4.155, allocations: 12.38 MB / 1.334 GB, free: 65.99 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/4.155, allocations: 3.984 kB / 1.334 GB, free: 65.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/4.155, allocations: 107.9 kB / 1.334 GB, free: 65.88 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04708/4.202, allocations: 8.885 MB / 1.343 GB, free: 57.11 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009015/4.203, allocations: 95.94 kB / 1.343 GB, free: 57.01 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/4.217, allocations: 7.871 MB / 1.351 GB, free: 49.05 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/4.217, allocations: 0 / 1.351 GB, free: 49.05 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/4.229, allocations: 6.746 MB / 1.357 GB, free: 42.25 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/4.231, allocations: 0.814 MB / 1.358 GB, free: 41.41 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003329/4.231, allocations: 52 kB / 1.358 GB, free: 41.36 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/4.233, allocations: 124.8 kB / 1.358 GB, free: 41.24 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004538/4.233, allocations: 204.5 kB / 1.358 GB, free: 41.04 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002424/4.233, allocations: 115.9 kB / 1.358 GB, free: 40.93 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009509/4.234, allocations: 0.6832 MB / 1.359 GB, free: 40.24 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/4.234, allocations: 2.078 kB / 1.359 GB, free: 40.24 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.009431/4.244, allocations: 2.635 MB / 1.362 GB, free: 37.83 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(22,245)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009902/4.254, allocations: 3.09 MB / 1.365 GB, free: 35.33 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01022/4.264, allocations: 4.929 MB / 1.37 GB, free: 30.36 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/4.264, allocations: 0 / 1.37 GB, free: 30.36 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.006282/4.27, allocations: 2.737 MB / 1.372 GB, free: 27.61 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/4.273, allocations: 448.5 kB / 1.373 GB, free: 27.21 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009308/4.282, allocations: 6.324 MB / 1.379 GB, free: 20.88 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/4.283, allocations: 1.697 MB / 1.38 GB, free: 19.15 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001286/4.284, allocations: 439.2 kB / 1.381 GB, free: 18.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/4.285, allocations: 103.4 kB / 1.381 GB, free: 18.65 MB / 0.795 GB Notification: Performance of SimCode: time 5.61e-07/4.285, allocations: 0 / 1.381 GB, free: 18.65 MB / 0.795 GB Notification: Performance of Templates: time 0.368/4.653, allocations: 121.3 MB / 1.499 GB, free: 362.2 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicMultiFluidHeatExchangerShell.pipe 2>&1) Environment - environmentSimulation: