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.9008/0.9008, allocations: 150.9 MB / 166 MB, free: 14.36 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003527, allocations: 19.97 kB / 204 MB, free: 9.691 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.175, allocations: 31.32 MB / 235.4 MB, free: 5.48 MB / 190.1 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.695/1.87, allocations: 294.7 MB / 0.5176 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6084/2.478, allocations: 195.8 MB / 0.7088 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007897/2.479, allocations: 20.97 kB / 0.7088 GB, free: 3.445 MB / 0.5762 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.0005192/2.48, allocations: 128 kB / 0.7089 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001144/2.481, allocations: 0.5193 MB / 0.7095 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03907/2.52, allocations: 10.55 MB / 0.7198 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006914/2.527, allocations: 7.553 MB / 0.7271 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004021/2.531, allocations: 2.083 MB / 0.7292 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004514/2.535, allocations: 1.943 MB / 0.7311 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005819/2.541, allocations: 2.991 MB / 0.734 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002323/2.544, allocations: 298.5 kB / 0.7343 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05093/2.594, allocations: 22.7 MB / 0.7564 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.003955/2.598, allocations: 1.685 MB / 0.7581 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007147/2.606, allocations: 1.95 MB / 0.76 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0459/2.652, allocations: 16.27 MB / 0.7759 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/2.652, allocations: 0 / 0.7759 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.114e-06/2.652, allocations: 4 kB / 0.7759 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002174/2.652, allocations: 0 / 0.7759 GB, free: 3.547 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.02631/2.678, allocations: 5.765 MB / 0.7815 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/2.678, allocations: 16.02 kB / 0.7815 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/2.68, allocations: 352 kB / 0.7819 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/2.683, allocations: 1.775 MB / 0.7836 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/2.683, allocations: 310.9 kB / 0.7839 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000626/2.684, allocations: 332 kB / 0.7842 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01472/2.698, allocations: 6.717 MB / 0.7908 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/2.699, allocations: 0 / 0.7908 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007529/2.699, allocations: 140 kB / 0.7909 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/2.699, allocations: 87.94 kB / 0.791 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02657/2.726, allocations: 17.67 MB / 0.8082 GB, free: 2.57 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.1187/2.845, allocations: 53.65 MB / 0.8606 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01521/2.86, allocations: 7.459 MB / 0.8679 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007893/2.868, allocations: 3.828 MB / 0.8717 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6701/3.538, allocations: 256.5 MB / 1.122 GB, free: 324.8 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/3.538, allocations: 104.4 kB / 1.122 GB, free: 324.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=590): time 7.524e-06/3.538, allocations: 0 / 1.122 GB, free: 324.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=590): time 0.02783/3.566, allocations: 14.7 MB / 1.137 GB, free: 314.4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/3.566, allocations: 112 kB / 1.137 GB, free: 314.2 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/3.567, allocations: 0.9909 MB / 1.138 GB, free: 313.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003388/3.568, allocations: 119.8 kB / 1.138 GB, free: 313.4 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/3.568, allocations: 0.7123 MB / 1.139 GB, free: 312.9 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.001278/3.569, allocations: 1.997 MB / 1.14 GB, free: 311.2 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001527/3.571, allocations: 1.095 MB / 1.142 GB, free: 310.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.27e-05/3.571, allocations: 359.7 kB / 1.142 GB, free: 310.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005027/3.576, allocations: 3.384 MB / 1.145 GB, free: 307.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005444/3.582, allocations: 4.102 MB / 1.149 GB, free: 303.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/3.593, allocations: 7.941 MB / 1.157 GB, free: 294.9 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.519e-05/3.593, allocations: 4 kB / 1.157 GB, free: 294.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=684) (initialization): time 0.01962/3.613, allocations: 12.27 MB / 1.169 GB, free: 282.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/3.613, allocations: 12.66 kB / 1.169 GB, free: 282.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.572e-05/3.613, allocations: 20.19 kB / 1.169 GB, free: 282.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07902/3.692, allocations: 22.71 MB / 1.191 GB, free: 260 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/3.693, allocations: 294.9 kB / 1.191 GB, free: 259.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0301/3.723, allocations: 14.37 MB / 1.205 GB, free: 245.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004006/3.727, allocations: 0.5809 MB / 1.206 GB, free: 244.6 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000607/3.728, allocations: 280.9 kB / 1.206 GB, free: 244.3 MB / 0.8106 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.001722/3.729, allocations: 0.8051 MB / 1.207 GB, free: 243.6 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008117/3.73, allocations: 292.7 kB / 1.207 GB, free: 243.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02673/3.757, allocations: 13.6 MB / 1.221 GB, free: 229.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-05/3.757, allocations: 62.44 kB / 1.221 GB, free: 229.6 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/3.757, allocations: 4 kB / 1.221 GB, free: 229.6 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.911e-05/3.757, allocations: 31.83 kB / 1.221 GB, free: 229.6 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04218/3.799, allocations: 20.45 MB / 1.241 GB, free: 209.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.022e-05/3.8, allocations: 4 kB / 1.241 GB, free: 209.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007264/3.8, allocations: 154.4 kB / 1.241 GB, free: 208.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07444/3.875, allocations: 19.87 MB / 1.26 GB, free: 189.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002054/3.877, allocations: 203.8 kB / 1.26 GB, free: 188.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02709/3.904, allocations: 14.15 MB / 1.274 GB, free: 174.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/3.904, allocations: 0 / 1.274 GB, free: 174.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02863/3.933, allocations: 12.08 MB / 1.286 GB, free: 162.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003332/3.936, allocations: 1.21 MB / 1.287 GB, free: 161.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/3.937, allocations: 96 kB / 1.287 GB, free: 161.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0034/3.94, allocations: 259.8 kB / 1.288 GB, free: 160.8 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008465/3.941, allocations: 380.2 kB / 1.288 GB, free: 160.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004407/3.942, allocations: 243.8 kB / 1.288 GB, free: 160.2 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0008808/3.943, allocations: 0.6458 MB / 1.289 GB, free: 159.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/3.943, allocations: 0 / 1.289 GB, free: 159.6 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.01333/3.956, allocations: 2.997 MB / 1.292 GB, free: 156.8 MB / 0.8106 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.01444/3.971, allocations: 3.049 MB / 1.295 GB, free: 154.3 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.03266/4.003, allocations: 9.312 MB / 1.304 GB, free: 145 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-05/4.003, allocations: 0.9375 kB / 1.304 GB, free: 145 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01916/4.023, allocations: 5.239 MB / 1.309 GB, free: 139.8 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005862/4.028, allocations: 0.625 MB / 1.31 GB, free: 139.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06258/4.091, allocations: 12.62 MB / 1.322 GB, free: 126.6 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001901/4.093, allocations: 1.928 MB / 1.324 GB, free: 124.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001972/4.095, allocations: 0.6165 MB / 1.324 GB, free: 124 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/4.095, allocations: 131.4 kB / 1.324 GB, free: 123.9 MB / 0.8106 GB Notification: Performance of SimCode: time 1.312e-06/4.095, allocations: 0 / 1.324 GB, free: 123.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.4812/4.577, allocations: 161.1 MB / 1.482 GB, free: 422.4 MB / 0.8106 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)