Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.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.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7838/0.7838, allocations: 150.9 MB / 166 MB, free: 14.68 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000264/0.000264, allocations: 11.98 kB / 204 MB, free: 10.16 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 31.33 MB / 235.4 MB, free: 5.465 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.TestFixedPowerHeatExchanger): time 1.501/1.634, allocations: 294 MB / 0.517 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1815/1.816, allocations: 187 MB / 0.6996 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000393/1.816, allocations: 15.88 kB / 0.6997 GB, free: 1.066 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/FixedPowerHeatExchanger.mo:35:3-36: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/FixedPowerHeatExchanger.mo:37:3-38: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/FixedPowerHeatExchanger.mo:39:3-40:51: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/FixedPowerHeatExchanger.mo:41:3-42: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.0004305/1.817, allocations: 124.2 kB / 0.6998 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00044/1.817, allocations: 230.3 kB / 0.7 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.2941/2.111, allocations: 8.364 MB / 0.7082 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001012/2.112, allocations: 0.7813 MB / 0.7089 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004916/2.113, allocations: 364 kB / 0.7093 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/2.113, allocations: 321.2 kB / 0.7096 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/2.114, allocations: 317.8 kB / 0.7099 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.803e-05/2.114, allocations: 47.56 kB / 0.7099 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03015/2.144, allocations: 19.46 MB / 0.7289 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000202/2.144, allocations: 132.6 kB / 0.7291 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005403/2.145, allocations: 365 kB / 0.7294 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02327/2.168, allocations: 10 MB / 0.7392 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/2.168, allocations: 0 / 0.7392 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/2.168, allocations: 0 / 0.7392 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.145e-05/2.168, allocations: 1.812 kB / 0.7392 GB, free: 1.625 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.004946/2.173, allocations: 2.027 MB / 0.7412 GB, free: 364 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/2.173, allocations: 12.78 kB / 0.7412 GB, free: 364 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/2.173, allocations: 88.75 kB / 0.7412 GB, free: 316 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/2.173, allocations: 409.3 kB / 0.7416 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/2.174, allocations: 48.31 kB / 0.7417 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/2.174, allocations: 64.16 kB / 0.7417 GB, free: 12 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000914/2.175, allocations: 0.7021 MB / 0.7424 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/2.175, allocations: 4.188 kB / 0.7424 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/2.175, allocations: 28.78 kB / 0.7425 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/2.175, allocations: 27.08 kB / 0.7425 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006001/2.175, allocations: 437.9 kB / 0.7429 GB, free: 15.7 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.01459/2.19, allocations: 11.96 MB / 0.7546 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/2.19, allocations: 130.3 kB / 0.7547 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/2.19, allocations: 99.05 kB / 0.7548 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1403/2.33, allocations: 76.94 MB / 0.8299 GB, free: 7.824 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.848e-05/2.331, allocations: 49.39 kB / 0.83 GB, free: 7.77 MB / 0.67 GB Notification: Performance of pre-optimization done (n=46): time 2.415e-06/2.331, allocations: 0 / 0.83 GB, free: 7.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=46): time 0.0008202/2.331, allocations: 330.5 kB / 0.8303 GB, free: 7.535 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/2.331, allocations: 77.11 kB / 0.8304 GB, free: 7.441 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006262/2.332, allocations: 0.491 MB / 0.8309 GB, free: 7.051 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/2.332, allocations: 25.7 kB / 0.8309 GB, free: 7.02 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/2.332, allocations: 359.9 kB / 0.8312 GB, free: 6.738 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-05/2.332, allocations: 152.8 kB / 0.8314 GB, free: 6.609 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/2.333, allocations: 104.8 kB / 0.8315 GB, free: 6.531 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001345/2.333, allocations: 363.5 kB / 0.8318 GB, free: 6.191 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/2.333, allocations: 102.2 kB / 0.8319 GB, free: 6.129 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/2.333, allocations: 279.8 kB / 0.8322 GB, free: 5.84 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/2.334, allocations: 429.1 kB / 0.8326 GB, free: 5.477 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/2.334, allocations: 0 / 0.8326 GB, free: 5.477 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007225/2.334, allocations: 469.3 kB / 0.833 GB, free: 5.156 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/2.334, allocations: 12.03 kB / 0.833 GB, free: 5.145 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/2.335, allocations: 8 kB / 0.8331 GB, free: 5.137 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/2.335, allocations: 8 kB / 0.8331 GB, free: 5.129 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002784/2.335, allocations: 73.59 kB / 0.8331 GB, free: 5.066 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/2.335, allocations: 14.89 kB / 0.8331 GB, free: 5.055 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/2.335, allocations: 70 kB / 0.8332 GB, free: 4.992 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/2.335, allocations: 19.94 kB / 0.8332 GB, free: 4.977 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (sourceP3.C.ftype,plateHeatExchanger.fluid_f,puitsP3.fluid,sourceP2.C.ftype,plateHeatExchanger.fluid_c,puitsP2.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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002179/2.335, allocations: 196 kB / 0.8334 GB, free: 4.82 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/2.336, allocations: 55.28 kB / 0.8335 GB, free: 4.766 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007755/2.336, allocations: 0.6413 MB / 0.8341 GB, free: 4.332 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004989/2.337, allocations: 455.2 kB / 0.8345 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/2.337, allocations: 0 / 0.8345 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/2.337, allocations: 0 / 0.8345 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/2.339, allocations: 1.546 MB / 0.836 GB, free: 2.789 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/2.339, allocations: 4 kB / 0.836 GB, free: 2.785 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/2.339, allocations: 74.67 kB / 0.8361 GB, free: 2.723 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/2.339, allocations: 4.125 kB / 0.8361 GB, free: 2.719 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/2.339, allocations: 15 kB / 0.8361 GB, free: 2.711 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/2.339, allocations: 4 kB / 0.8361 GB, free: 2.707 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/2.339, allocations: 3 kB / 0.8361 GB, free: 2.707 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006617/2.34, allocations: 0.6932 MB / 0.8368 GB, free: 2.133 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/2.34, allocations: 177.2 kB / 0.837 GB, free: 1.957 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.657e-05/2.34, allocations: 7.75 kB / 0.837 GB, free: 1.953 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/2.34, allocations: 18.84 kB / 0.837 GB, free: 1.941 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/2.34, allocations: 38.16 kB / 0.837 GB, free: 1.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/2.34, allocations: 11.62 kB / 0.8371 GB, free: 1.902 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0003466/2.341, allocations: 344.8 kB / 0.8374 GB, free: 1.645 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/2.341, allocations: 0 / 0.8374 GB, free: 1.645 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004842/2.346, allocations: 1.488 MB / 0.8388 GB, free: 264 kB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (48): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008576/2.354, allocations: 2.227 MB / 0.841 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0009052/2.355, allocations: 0.5678 MB / 0.8416 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/2.355, allocations: 0 / 0.8416 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002479/2.355, allocations: 234.6 kB / 0.8418 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/2.357, allocations: 288 kB / 0.8421 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/2.359, allocations: 1.582 MB / 0.8436 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/2.359, allocations: 0.9621 MB / 0.8446 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003398/2.36, allocations: 96.27 kB / 0.8446 GB, free: 11 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/2.36, allocations: 59.42 kB / 0.8447 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of SimCode: time 3.21e-07/2.36, allocations: 0 / 0.8447 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of Templates: time 0.06702/2.427, allocations: 50.77 MB / 0.8943 GB, free: 8.41 MB / 0.7325 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe 2>&1)