Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.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.TestDynamicPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8307/0.8307, allocations: 150.8 MB / 166.1 MB, free: 15.39 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 2.263e-05/2.278e-05, allocations: 4 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1797, allocations: 31.98 MB / 236.8 MB, free: 5.168 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.TestDynamicPlateHeatExchanger): time 1.66/1.84, allocations: 298.5 MB / 0.5227 GB, free: 8.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.5729/2.413, allocations: 194.4 MB / 0.7126 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/2.415, allocations: 28.69 kB / 0.7126 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001321/2.416, allocations: 261.8 kB / 0.7128 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002975/2.419, allocations: 0.7831 MB / 0.7136 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03667/2.456, allocations: 11.01 MB / 0.7244 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008456/2.465, allocations: 8.599 MB / 0.7328 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004122/2.469, allocations: 2.427 MB / 0.7351 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00448/2.473, allocations: 2.275 MB / 0.7374 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00606/2.479, allocations: 3.308 MB / 0.7406 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.002253/2.482, allocations: 312.2 kB / 0.7409 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04878/2.53, allocations: 22.87 MB / 0.7632 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.004032/2.535, allocations: 1.789 MB / 0.765 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007716/2.542, allocations: 2.357 MB / 0.7673 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.04636/2.589, allocations: 17.02 MB / 0.7839 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/2.589, allocations: 3.938 kB / 0.7839 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.006e-06/2.589, allocations: 0 / 0.7839 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002561/2.589, allocations: 0 / 0.7839 GB, free: 1.297 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: 1134 * Number of variables: 1134 Notification: Performance of Generate backend data structure: time 0.02044/2.609, allocations: 5.684 MB / 0.7894 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/2.61, allocations: 15.97 kB / 0.7894 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/2.612, allocations: 442.9 kB / 0.7899 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004899/2.617, allocations: 2.088 MB / 0.7919 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007263/2.617, allocations: 457.5 kB / 0.7923 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002152/2.62, allocations: 408 kB / 0.7927 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01759/2.637, allocations: 7.607 MB / 0.8002 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/2.637, allocations: 0 / 0.8002 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001082/2.638, allocations: 172 kB / 0.8003 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000119/2.639, allocations: 120 kB / 0.8004 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02517/2.664, allocations: 18.35 MB / 0.8184 GB, free: 14.34 MB / 0.6387 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.2033/2.867, allocations: 92.67 MB / 0.9089 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01516/2.882, allocations: 7.852 MB / 0.9165 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007877/2.89, allocations: 4.083 MB / 0.9205 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8392/3.729, allocations: 346.1 MB / 1.258 GB, free: 150.2 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/3.73, allocations: 103.3 kB / 1.259 GB, free: 150.1 MB / 0.795 GB Notification: Performance of pre-optimization done (n=676): time 1.71e-05/3.73, allocations: 0 / 1.259 GB, free: 150.1 MB / 0.795 GB Notification: Performance of matching and sorting (n=676): time 0.04594/3.776, allocations: 17.02 MB / 1.275 GB, free: 135.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/3.776, allocations: 141.7 kB / 1.275 GB, free: 135.3 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/3.778, allocations: 1.428 MB / 1.277 GB, free: 133.9 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/3.779, allocations: 129.7 kB / 1.277 GB, free: 133.8 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005849/3.779, allocations: 1.026 MB / 1.278 GB, free: 132.7 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.002144/3.781, allocations: 2.276 MB / 1.28 GB, free: 130.5 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/3.783, allocations: 0.4919 MB / 1.281 GB, free: 130 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.265e-05/3.783, allocations: 305.1 kB / 1.281 GB, free: 129.7 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006642/3.789, allocations: 3.603 MB / 1.284 GB, free: 126.1 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007238/3.797, allocations: 4.525 MB / 1.289 GB, free: 121.3 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01525/3.812, allocations: 8.647 MB / 1.297 GB, free: 112.3 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.175e-05/3.812, allocations: 4 kB / 1.297 GB, free: 112.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=806) (initialization): time 0.03448/3.847, allocations: 13.57 MB / 1.31 GB, free: 98.6 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/3.847, allocations: 12 kB / 1.31 GB, free: 98.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-05/3.847, allocations: 20 kB / 1.31 GB, free: 98.57 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0821/3.929, allocations: 23.54 MB / 1.333 GB, free: 75.12 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/3.93, allocations: 367.4 kB / 1.334 GB, free: 74.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03352/3.964, allocations: 15.71 MB / 1.349 GB, free: 58.86 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004566/3.969, allocations: 0.7007 MB / 1.35 GB, free: 58.15 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/3.97, allocations: 313.2 kB / 1.35 GB, free: 57.85 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 20 (sourceP3.C.ftype,sourceP2.C.ftype,echangeurAPlaques.fluid_c,echangeurAPlaques.fluid_f,puitsP2.fluid,puitsP3.fluid,sourceP3.fluid1,sourceP2.fluid1,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 (197): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(4,23), (60,460), (2,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002795/3.973, allocations: 0.8969 MB / 1.351 GB, free: 56.94 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/3.974, allocations: 359.9 kB / 1.351 GB, free: 56.59 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03137/4.005, allocations: 15.14 MB / 1.366 GB, free: 41.45 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001722/4.007, allocations: 1.09 MB / 1.367 GB, free: 40.35 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/4.007, allocations: 3.938 kB / 1.367 GB, free: 40.35 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-05/4.007, allocations: 31.88 kB / 1.367 GB, free: 40.32 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04512/4.052, allocations: 23.22 MB / 1.39 GB, free: 16.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.204e-05/4.052, allocations: 4 kB / 1.39 GB, free: 16.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009097/4.053, allocations: 268.2 kB / 1.39 GB, free: 16.72 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3146/4.368, allocations: 20.84 MB / 1.411 GB, free: 423.4 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002194/4.37, allocations: 225.7 kB / 1.411 GB, free: 423.4 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03328/4.403, allocations: 15.49 MB / 1.426 GB, free: 421.5 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/4.403, allocations: 11.19 kB / 1.426 GB, free: 421.5 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03377/4.437, allocations: 13.03 MB / 1.439 GB, free: 420.5 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004413/4.442, allocations: 1.391 MB / 1.44 GB, free: 419.9 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002101/4.444, allocations: 118.5 kB / 1.44 GB, free: 419.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005174/4.449, allocations: 298.8 kB / 1.44 GB, free: 419.7 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001616/4.451, allocations: 453.2 kB / 1.441 GB, free: 419.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00111/4.452, allocations: 269.7 kB / 1.441 GB, free: 419.6 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001769/4.453, allocations: 1.008 MB / 1.442 GB, free: 419.3 MB / 0.795 GB Notification: Performance of sort global known variables: time 3.11e-07/4.453, allocations: 0 / 1.442 GB, free: 419.3 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01047/4.464, allocations: 3.233 MB / 1.445 GB, free: 418.8 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (143): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(4,23), (60,463), (2,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01221/4.476, allocations: 3.044 MB / 1.448 GB, free: 418.5 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02956/4.506, allocations: 10.47 MB / 1.458 GB, free: 414.2 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/4.506, allocations: 3.688 kB / 1.458 GB, free: 414.2 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01916/4.525, allocations: 5.773 MB / 1.464 GB, free: 409.5 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009001/4.534, allocations: 0.9875 MB / 1.465 GB, free: 408.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06187/4.596, allocations: 14.81 MB / 1.479 GB, free: 396.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002402/4.598, allocations: 2.329 MB / 1.482 GB, free: 394.2 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002543/4.601, allocations: 0.7087 MB / 1.482 GB, free: 393.6 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004612/4.602, allocations: 180.9 kB / 1.483 GB, free: 393.4 MB / 0.795 GB Notification: Performance of SimCode: time 1.092e-06/4.602, allocations: 0 / 1.483 GB, free: 393.4 MB / 0.795 GB Notification: Performance of Templates: time 0.2146/4.816, allocations: 174.1 MB / 1.653 GB, free: 220.9 MB / 0.795 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestDynamicPlateHeatExchanger.pipe 2>&1) Environment - environmentSimulation: