Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.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.TestStaticPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9129/0.9129, allocations: 150.8 MB / 166.1 MB, free: 15.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.921e-05/1.951e-05, allocations: 4 kB / 204.8 MB, free: 10.18 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1789, allocations: 31.98 MB / 236.8 MB, free: 5.371 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.TestStaticPlateHeatExchanger): time 1.777/1.956, allocations: 295.6 MB / 0.5199 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6628/2.618, allocations: 187.4 MB / 0.7029 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/2.619, allocations: 15.5 kB / 0.7029 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005393/2.62, allocations: 132.5 kB / 0.7031 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009997/2.621, allocations: 296.9 kB / 0.7033 GB, free: 3.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03344/2.654, allocations: 9.158 MB / 0.7123 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001862/2.656, allocations: 1.069 MB / 0.7133 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005318/2.657, allocations: 394.1 kB / 0.7137 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000565/2.657, allocations: 378.4 kB / 0.7141 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00039/2.658, allocations: 379.5 kB / 0.7144 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/2.658, allocations: 34.03 kB / 0.7145 GB, free: 3.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04082/2.699, allocations: 19.53 MB / 0.7335 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004134/2.699, allocations: 141.1 kB / 0.7337 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008165/2.7, allocations: 449.6 kB / 0.7341 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03086/2.731, allocations: 10.17 MB / 0.744 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/2.731, allocations: 0 / 0.744 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.504e-06/2.731, allocations: 0 / 0.744 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.304e-05/2.731, allocations: 0 / 0.744 GB, free: 15.63 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.007372/2.738, allocations: 2.096 MB / 0.7461 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/2.738, allocations: 10.03 kB / 0.7461 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/2.739, allocations: 105.6 kB / 0.7462 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006298/2.739, allocations: 460.5 kB / 0.7466 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002168/2.74, allocations: 155.2 kB / 0.7468 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-05/2.74, allocations: 77.69 kB / 0.7469 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/2.741, allocations: 0.9246 MB / 0.7478 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/2.741, allocations: 2.906 kB / 0.7478 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/2.741, allocations: 33.12 kB / 0.7478 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.411e-05/2.741, allocations: 34.2 kB / 0.7478 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/2.743, allocations: 0.6775 MB / 0.7485 GB, free: 13.41 MB / 0.5919 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.01799/2.761, allocations: 12.83 MB / 0.761 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/2.762, allocations: 468.8 kB / 0.7615 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005273/2.762, allocations: 261.2 kB / 0.7617 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09729/2.86, allocations: 52.56 MB / 0.813 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/2.86, allocations: 34.56 kB / 0.8131 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=88): time 3.337e-06/2.86, allocations: 0 / 0.8131 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88): time 0.01752/2.877, allocations: 3.195 MB / 0.8162 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/2.877, allocations: 55.41 kB / 0.8162 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/2.878, allocations: 0.4894 MB / 0.8167 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.071e-05/2.878, allocations: 32.39 kB / 0.8168 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/2.878, allocations: 396.1 kB / 0.8171 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000283/2.879, allocations: 288.3 kB / 0.8174 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/2.879, allocations: 91.16 kB / 0.8175 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001786/2.879, allocations: 368.5 kB / 0.8178 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005843/2.88, allocations: 233.9 kB / 0.8181 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006872/2.88, allocations: 436.3 kB / 0.8185 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/2.882, allocations: 0.7077 MB / 0.8192 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/2.882, allocations: 0 / 0.8192 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002938/2.885, allocations: 1.103 MB / 0.8202 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/2.885, allocations: 8 kB / 0.8203 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/2.885, allocations: 4 kB / 0.8203 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003188/2.888, allocations: 0.9621 MB / 0.8212 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/2.888, allocations: 69.47 kB / 0.8213 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/2.891, allocations: 1.413 MB / 0.8226 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006336/2.891, allocations: 98.08 kB / 0.8227 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.158e-05/2.891, allocations: 31.61 kB / 0.8228 GB, free: 5.598 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,sourceP2.C.ftype,plateHeatExchanger.fluid_c,plateHeatExchanger.fluid_f,puitsP2.fluid,puitsP3.fluid,sourceP3.fluid1,sourceP2.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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 {(4,27)} Notification: Performance of prepare postOptimizeDAE: time 0.0003751/2.892, allocations: 203.6 kB / 0.823 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/2.892, allocations: 67.16 kB / 0.823 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/2.895, allocations: 1.778 MB / 0.8248 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002128/2.897, allocations: 1.215 MB / 0.826 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/2.897, allocations: 0 / 0.826 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/2.897, allocations: 3.984 kB / 0.826 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007481/2.905, allocations: 3.066 MB / 0.8289 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/2.905, allocations: 0 / 0.8289 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/2.905, allocations: 93.66 kB / 0.829 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003055/2.908, allocations: 1.012 MB / 0.83 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.279e-05/2.908, allocations: 17.8 kB / 0.83 GB, free: 228 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/2.91, allocations: 1.506 MB / 0.8315 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/2.91, allocations: 0 / 0.8315 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005226/2.915, allocations: 1.634 MB / 0.8331 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/2.916, allocations: 239.5 kB / 0.8333 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/2.916, allocations: 18.91 kB / 0.8334 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/2.917, allocations: 40.34 kB / 0.8334 GB, free: 13.56 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/2.917, allocations: 50.48 kB / 0.8334 GB, free: 13.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/2.917, allocations: 29.05 kB / 0.8335 GB, free: 13.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004953/2.917, allocations: 363.4 kB / 0.8338 GB, free: 13.22 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.41e-07/2.917, allocations: 0 / 0.8338 GB, free: 13.22 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005649/2.923, allocations: 1.581 MB / 0.8354 GB, free: 11.75 MB / 0.67 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 (62): * Single equations (assignments): 61 * 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 {(4,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008682/2.932, allocations: 2.295 MB / 0.8376 GB, free: 9.781 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002483/2.934, allocations: 1.11 MB / 0.8387 GB, free: 8.926 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/2.934, allocations: 0 / 0.8387 GB, free: 8.926 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001149/2.935, allocations: 0.5153 MB / 0.8392 GB, free: 8.582 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/2.937, allocations: 379.8 kB / 0.8396 GB, free: 8.285 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003641/2.941, allocations: 2.249 MB / 0.8417 GB, free: 6.219 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006936/2.942, allocations: 1.05 MB / 0.8428 GB, free: 5.137 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004469/2.942, allocations: 104.3 kB / 0.8429 GB, free: 5.035 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/2.942, allocations: 51.44 kB / 0.8429 GB, free: 4.984 MB / 0.67 GB Notification: Performance of SimCode: time 4.81e-07/2.942, allocations: 0 / 0.8429 GB, free: 4.984 MB / 0.67 GB Notification: Performance of Templates: time 0.09762/3.04, allocations: 59.99 MB / 0.9015 GB, free: 9.348 MB / 0.7325 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.makefile Environment - environmentSimulation: (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticPlateHeatExchanger.pipe 2>&1) Environment - environmentSimulation: