Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.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.TestDiffusion_DynamicPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9512/0.9512, allocations: 150.8 MB / 166.1 MB, free: 15.4 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.16e-05/2.171e-05, allocations: 4 kB / 204.8 MB, free: 10.05 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2129, allocations: 31.98 MB / 236.8 MB, free: 5.43 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.TestDiffusion_DynamicPlateHeatExchanger): time 1.882/2.095, allocations: 295.6 MB / 0.5199 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6696/2.765, allocations: 193.5 MB / 0.7088 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009461/2.766, allocations: 18.75 kB / 0.7088 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003708/2.766, allocations: 124.2 kB / 0.7089 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001198/2.768, allocations: 0.5123 MB / 0.7094 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.04709/2.815, allocations: 10.8 MB / 0.72 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009259/2.824, allocations: 7.547 MB / 0.7274 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004928/2.829, allocations: 2.037 MB / 0.7293 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005456/2.834, allocations: 1.906 MB / 0.7312 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007451/2.842, allocations: 2.939 MB / 0.7341 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002644/2.845, allocations: 278 kB / 0.7343 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05725/2.902, allocations: 22.83 MB / 0.7566 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004183/2.906, allocations: 1.652 MB / 0.7582 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.005401/2.911, allocations: 1.943 MB / 0.7601 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.04915/2.961, allocations: 16.06 MB / 0.7758 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/2.961, allocations: 0 / 0.7758 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.867e-06/2.961, allocations: 4 kB / 0.7758 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001623/2.961, allocations: 0 / 0.7758 GB, free: 5.242 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: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.022/2.983, allocations: 4.984 MB / 0.7807 GB, free: 456 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/2.983, allocations: 8.031 kB / 0.7807 GB, free: 448 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002223/2.985, allocations: 347.1 kB / 0.781 GB, free: 100 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004029/2.989, allocations: 1.788 MB / 0.7828 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002997/2.99, allocations: 312.5 kB / 0.7831 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008755/2.99, allocations: 337.7 kB / 0.7834 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/3.003, allocations: 6.711 MB / 0.79 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.784e-05/3.003, allocations: 1.859 kB / 0.79 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004536/3.004, allocations: 144 kB / 0.7901 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.438e-05/3.004, allocations: 84 kB / 0.7902 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02443/3.028, allocations: 17.67 MB / 0.8074 GB, free: 7.402 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.1332/3.162, allocations: 53.95 MB / 0.8601 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01602/3.178, allocations: 7.458 MB / 0.8674 GB, free: 6.828 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008491/3.186, allocations: 3.823 MB / 0.8711 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7558/3.942, allocations: 258.8 MB / 1.124 GB, free: 298.1 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/3.942, allocations: 93.75 kB / 1.124 GB, free: 298 MB / 0.795 GB Notification: Performance of pre-optimization done (n=590): time 7.193e-06/3.942, allocations: 0 / 1.124 GB, free: 298 MB / 0.795 GB Notification: Performance of matching and sorting (n=590): time 0.03115/3.973, allocations: 14.71 MB / 1.138 GB, free: 287.7 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.12e-05/3.973, allocations: 112.7 kB / 1.138 GB, free: 287.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/3.975, allocations: 0.9858 MB / 1.139 GB, free: 286.8 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0005724/3.975, allocations: 125.4 kB / 1.139 GB, free: 286.7 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/3.976, allocations: 0.7119 MB / 1.14 GB, free: 286.2 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.001644/3.977, allocations: 1.992 MB / 1.142 GB, free: 284.5 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000609/3.978, allocations: 433 kB / 1.143 GB, free: 284.2 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/3.978, allocations: 369.1 kB / 1.143 GB, free: 283.9 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00538/3.983, allocations: 3.376 MB / 1.146 GB, free: 280.9 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005662/3.989, allocations: 4.103 MB / 1.15 GB, free: 276.6 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/4.001, allocations: 7.942 MB / 1.158 GB, free: 268.4 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.443e-05/4.001, allocations: 4 kB / 1.158 GB, free: 268.4 MB / 0.795 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.02196/4.023, allocations: 12.29 MB / 1.17 GB, free: 256 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/4.023, allocations: 12 kB / 1.17 GB, free: 256 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/4.023, allocations: 16 kB / 1.17 GB, free: 256 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07926/4.103, allocations: 22.82 MB / 1.192 GB, free: 233.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/4.104, allocations: 295.3 kB / 1.193 GB, free: 233 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03292/4.137, allocations: 14.39 MB / 1.207 GB, free: 218.4 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004535/4.141, allocations: 0.5887 MB / 1.207 GB, free: 217.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/4.142, allocations: 283.8 kB / 1.207 GB, free: 217.6 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 12 (sourceP1.C.ftype,sourceP.C.ftype,echangeurAPlaques1D.fluid_c,echangeurAPlaques1D.fluid_f,puitsP.fluid,puitsP1.fluid,sourceP1.fluid1,sourceP.fluid1,echangeurAPlaques1D.Ef.diff_on_2,echangeurAPlaques1D.Sf.diff_on_1,echangeurAPlaques1D.Ec.diff_on_2,echangeurAPlaques1D.Sc.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(60,460), (2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.00272/4.145, allocations: 0.7939 MB / 1.208 GB, free: 216.8 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/4.146, allocations: 292.7 kB / 1.208 GB, free: 216.5 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02942/4.176, allocations: 13.59 MB / 1.222 GB, free: 202.9 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.958e-05/4.176, allocations: 56 kB / 1.222 GB, free: 202.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/4.176, allocations: 0 / 1.222 GB, free: 202.8 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.403e-05/4.176, allocations: 27.89 kB / 1.222 GB, free: 202.8 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03911/4.215, allocations: 20.45 MB / 1.242 GB, free: 182.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-05/4.215, allocations: 4 kB / 1.242 GB, free: 182.3 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006658/4.216, allocations: 155.8 kB / 1.242 GB, free: 182.1 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07411/4.29, allocations: 19.98 MB / 1.261 GB, free: 162.2 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001996/4.292, allocations: 195.9 kB / 1.262 GB, free: 162 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03184/4.324, allocations: 14.17 MB / 1.275 GB, free: 147.7 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/4.324, allocations: 0 / 1.275 GB, free: 147.7 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03224/4.356, allocations: 12.07 MB / 1.287 GB, free: 135.5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003255/4.359, allocations: 1.203 MB / 1.288 GB, free: 134.2 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001619/4.361, allocations: 96 kB / 1.289 GB, free: 134.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003886/4.365, allocations: 263.8 kB / 1.289 GB, free: 133.9 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001569/4.367, allocations: 380.2 kB / 1.289 GB, free: 133.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001164/4.368, allocations: 239.9 kB / 1.289 GB, free: 133.3 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001005/4.369, allocations: 0.6517 MB / 1.29 GB, free: 132.6 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.5e-07/4.369, allocations: 0 / 1.29 GB, free: 132.6 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.009983/4.379, allocations: 2.994 MB / 1.293 GB, free: 129.8 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 (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(60,463), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01228/4.391, allocations: 3.017 MB / 1.296 GB, free: 127.4 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02651/4.418, allocations: 9.334 MB / 1.305 GB, free: 118 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/4.418, allocations: 0 / 1.305 GB, free: 118 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0189/4.437, allocations: 5.262 MB / 1.31 GB, free: 112.8 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005708/4.442, allocations: 0.6197 MB / 1.311 GB, free: 112.2 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05943/4.502, allocations: 12.5 MB / 1.323 GB, free: 99.67 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/4.504, allocations: 1.923 MB / 1.325 GB, free: 97.71 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001979/4.506, allocations: 0.6067 MB / 1.325 GB, free: 97.12 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/4.506, allocations: 135.4 kB / 1.326 GB, free: 96.99 MB / 0.795 GB Notification: Performance of SimCode: time 6.02e-07/4.506, allocations: 0 / 1.326 GB, free: 96.99 MB / 0.795 GB Notification: Performance of Templates: time 0.46/4.966, allocations: 158.7 MB / 1.481 GB, free: 399.1 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.pipe 2>&1) Environment - environmentSimulation: