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.7842/0.7842, allocations: 150.8 MB / 166.6 MB, free: 11.14 MB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002865/0.0002866, allocations: 15.98 kB / 204.7 MB, free: 6.176 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1691, allocations: 31.32 MB / 236 MB, free: 3.883 MB / 186.7 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger): time 1.681/1.85, allocations: 294 MB / 0.5176 GB, free: 8.156 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.6337/2.484, allocations: 195.8 MB / 0.7088 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009703/2.485, allocations: 17.38 kB / 0.7088 GB, free: 1.559 MB / 0.5573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicPlateHeatExchanger.mo:227:3-228:54:writable] Warning: Connector Ec is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicPlateHeatExchanger.mo:229:3-230:54:writable] Warning: Connector Ef is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicPlateHeatExchanger.mo:231:3-232:52:writable] Warning: Connector Sf is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/DynamicPlateHeatExchanger.mo:233:3-234:52:writable] Warning: Connector Sc is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourcePQ.mo:74:3-75:65:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/Sink.mo:39:3-40:67:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005033/2.486, allocations: 131.5 kB / 0.7089 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/2.487, allocations: 0.5097 MB / 0.7094 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.03995/2.527, allocations: 10.57 MB / 0.7197 GB, free: 1.184 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.007917/2.535, allocations: 7.554 MB / 0.7271 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005094/2.54, allocations: 2.16 MB / 0.7292 GB, free: 15.97 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004415/2.545, allocations: 1.947 MB / 0.7311 GB, free: 15.68 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005883/2.55, allocations: 2.995 MB / 0.734 GB, free: 14.88 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.002025/2.553, allocations: 297.1 kB / 0.7343 GB, free: 14.88 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04965/2.602, allocations: 22.68 MB / 0.7565 GB, free: 6.715 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.003991/2.606, allocations: 1.688 MB / 0.7581 GB, free: 5.176 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.005412/2.612, allocations: 1.96 MB / 0.76 GB, free: 3.508 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.045/2.657, allocations: 16.26 MB / 0.7759 GB, free: 4.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.332e-05/2.657, allocations: 3.984 kB / 0.7759 GB, free: 4.066 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.984e-06/2.657, allocations: 4 kB / 0.7759 GB, free: 4.062 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001712/2.657, allocations: 0 / 0.7759 GB, free: 4.062 MB / 0.5886 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.02251/2.679, allocations: 5.765 MB / 0.7816 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/2.68, allocations: 12.03 kB / 0.7816 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/2.681, allocations: 344.2 kB / 0.7819 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003723/2.684, allocations: 1.783 MB / 0.7836 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/2.685, allocations: 310.9 kB / 0.7839 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006052/2.685, allocations: 332 kB / 0.7843 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01366/2.699, allocations: 6.716 MB / 0.7908 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.392e-05/2.699, allocations: 0 / 0.7908 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004253/2.699, allocations: 143.9 kB / 0.7909 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.143e-05/2.699, allocations: 84 kB / 0.791 GB, free: 4.445 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02519/2.725, allocations: 17.67 MB / 0.8083 GB, free: 2.77 MB / 0.6198 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.1261/2.851, allocations: 53.66 MB / 0.8607 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01567/2.867, allocations: 7.462 MB / 0.868 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008191/2.875, allocations: 3.833 MB / 0.8717 GB, free: 14.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7392/3.614, allocations: 256.5 MB / 1.122 GB, free: 260.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/3.614, allocations: 90.25 kB / 1.122 GB, free: 260 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=590): time 5.361e-05/3.614, allocations: 0 / 1.122 GB, free: 260 MB / 0.7761 GB Notification: Performance of matching and sorting (n=590): time 0.03759/3.652, allocations: 14.7 MB / 1.137 GB, free: 248.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/3.652, allocations: 115.3 kB / 1.137 GB, free: 248.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/3.653, allocations: 0.9924 MB / 1.138 GB, free: 247.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000904/3.654, allocations: 117.7 kB / 1.138 GB, free: 247.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/3.655, allocations: 0.7105 MB / 1.139 GB, free: 246.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001835/3.656, allocations: 1.993 MB / 1.14 GB, free: 244.9 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002669/3.659, allocations: 1.096 MB / 1.142 GB, free: 243.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.522e-05/3.659, allocations: 361.9 kB / 1.142 GB, free: 243.4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005733/3.665, allocations: 3.383 MB / 1.145 GB, free: 240.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006304/3.671, allocations: 4.102 MB / 1.149 GB, free: 235.7 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01289/3.684, allocations: 7.939 MB / 1.157 GB, free: 227.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-05/3.684, allocations: 8 kB / 1.157 GB, free: 227.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.02301/3.707, allocations: 12.28 MB / 1.169 GB, free: 215.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.893e-05/3.707, allocations: 16.78 kB / 1.169 GB, free: 215.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/3.707, allocations: 12 kB / 1.169 GB, free: 215.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07749/3.785, allocations: 22.71 MB / 1.191 GB, free: 192.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/3.786, allocations: 296.1 kB / 1.191 GB, free: 192.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03092/3.817, allocations: 14.37 MB / 1.205 GB, free: 177.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003852/3.821, allocations: 0.5897 MB / 1.206 GB, free: 177.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005741/3.821, allocations: 283.8 kB / 1.206 GB, free: 177 MB / 0.7761 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.001402/3.823, allocations: 0.7948 MB / 1.207 GB, free: 176.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007076/3.823, allocations: 296.7 kB / 1.207 GB, free: 175.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02594/3.849, allocations: 13.6 MB / 1.221 GB, free: 162.3 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.79e-05/3.85, allocations: 56 kB / 1.221 GB, free: 162.3 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/3.85, allocations: 0 / 1.221 GB, free: 162.3 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.368e-05/3.85, allocations: 31.88 kB / 1.221 GB, free: 162.3 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03817/3.888, allocations: 20.45 MB / 1.241 GB, free: 141.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.712e-05/3.888, allocations: 0 / 1.241 GB, free: 141.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/3.889, allocations: 160.4 kB / 1.241 GB, free: 141.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07344/3.962, allocations: 19.88 MB / 1.26 GB, free: 121.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001656/3.964, allocations: 203.8 kB / 1.26 GB, free: 121.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03085/3.995, allocations: 14.14 MB / 1.274 GB, free: 107.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/3.995, allocations: 3.938 kB / 1.274 GB, free: 107.3 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04067/4.035, allocations: 18.16 MB / 1.292 GB, free: 89 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003588/4.039, allocations: 1.204 MB / 1.293 GB, free: 87.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001423/4.04, allocations: 92 kB / 1.293 GB, free: 87.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004059/4.044, allocations: 259.8 kB / 1.294 GB, free: 87.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001919/4.046, allocations: 388.1 kB / 1.294 GB, free: 87.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001249/4.048, allocations: 243.8 kB / 1.294 GB, free: 86.81 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001015/4.049, allocations: 0.6419 MB / 1.295 GB, free: 86.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/4.049, allocations: 0 / 1.295 GB, free: 86.16 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.009935/4.059, allocations: 3.076 MB / 1.298 GB, free: 83.29 MB / 0.7761 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.0108/4.069, allocations: 3.045 MB / 1.301 GB, free: 80.84 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02577/4.095, allocations: 9.32 MB / 1.31 GB, free: 71.51 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/4.095, allocations: 0 / 1.31 GB, free: 71.51 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.01685/4.112, allocations: 5.235 MB / 1.315 GB, free: 66.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005047/4.117, allocations: 0.625 MB / 1.316 GB, free: 65.69 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05814/4.175, allocations: 15.29 MB / 1.331 GB, free: 50.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001772/4.177, allocations: 2.128 MB / 1.333 GB, free: 48.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00185/4.179, allocations: 0.6007 MB / 1.333 GB, free: 47.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/4.179, allocations: 131.4 kB / 1.333 GB, free: 47.52 MB / 0.7761 GB Notification: Performance of SimCode: time 6.51e-07/4.179, allocations: 0 / 1.333 GB, free: 47.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.3737/4.553, allocations: 166.1 MB / 1.496 GB, free: 323.7 MB / 0.7761 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDiffusion_DynamicPlateHeatExchanger.makefile (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)