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.8234/0.8234, allocations: 150.9 MB / 167.1 MB, free: 14.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003588, allocations: 19.98 kB / 206 MB, free: 8.996 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.145, allocations: 31.32 MB / 237.3 MB, free: 5.715 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.634/1.779, allocations: 295.9 MB / 0.5207 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1886/1.967, allocations: 186.1 MB / 0.7025 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003897/1.968, allocations: 11.94 kB / 0.7025 GB, free: 1.234 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.0004647/1.968, allocations: 158.8 kB / 0.7026 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004748/1.969, allocations: 257.9 kB / 0.7029 GB, free: 0.8242 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:783:9-783:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:850:9-850:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteam/IF97_packages.mo:1088:9-1088:27:writable] Warning: cv was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh1satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph.mo:69:3-69:60:writable] Warning: dh2satp was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du1satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/WaterSteamSimple/prop4_Ph_der.mo:167:3-170:49:writable] Warning: du2satp_der was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.3174/2.286, allocations: 10.98 MB / 0.7136 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008921/2.287, allocations: 0.8211 MB / 0.7144 GB, free: 2.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003673/2.288, allocations: 391.1 kB / 0.7148 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/2.288, allocations: 345.6 kB / 0.7151 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/2.288, allocations: 328.8 kB / 0.7154 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/2.288, allocations: 60.75 kB / 0.7155 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03007/2.318, allocations: 19.47 MB / 0.7345 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002361/2.319, allocations: 144 kB / 0.7346 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005059/2.319, allocations: 383.2 kB / 0.735 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02362/2.343, allocations: 9.917 MB / 0.7447 GB, free: 84 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/2.343, allocations: 1.031 kB / 0.7447 GB, free: 84 kB / 0.5762 GB Notification: Performance of FrontEnd: time 2.404e-06/2.343, allocations: 0 / 0.7447 GB, free: 84 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.991e-05/2.343, allocations: 0 / 0.7447 GB, free: 84 kB / 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.005833/2.349, allocations: 2.026 MB / 0.7466 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/2.349, allocations: 6.875 kB / 0.7467 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/2.349, allocations: 92.62 kB / 0.7467 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006061/2.349, allocations: 431.5 kB / 0.7472 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.888e-05/2.35, allocations: 49.88 kB / 0.7472 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/2.35, allocations: 64.03 kB / 0.7473 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008945/2.35, allocations: 0.7052 MB / 0.748 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/2.35, allocations: 2.344 kB / 0.748 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.303e-05/2.351, allocations: 29.91 kB / 0.748 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/2.351, allocations: 24.61 kB / 0.748 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006033/2.351, allocations: 443.6 kB / 0.7484 GB, free: 14.16 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.01612/2.367, allocations: 11.95 MB / 0.7601 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/2.368, allocations: 131.3 kB / 0.7602 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/2.368, allocations: 94.45 kB / 0.7603 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1464/2.514, allocations: 77.39 MB / 0.8359 GB, free: 5.055 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/2.514, allocations: 46.12 kB / 0.8359 GB, free: 5.004 MB / 0.67 GB Notification: Performance of pre-optimization done (n=46): time 2.515e-06/2.514, allocations: 4 kB / 0.8359 GB, free: 5 MB / 0.67 GB Notification: Performance of matching and sorting (n=46): time 0.000743/2.515, allocations: 336.7 kB / 0.8362 GB, free: 4.758 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.476e-05/2.515, allocations: 80.86 kB / 0.8363 GB, free: 4.664 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005721/2.516, allocations: 0.4918 MB / 0.8368 GB, free: 4.273 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/2.516, allocations: 25.7 kB / 0.8368 GB, free: 4.242 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/2.516, allocations: 362.6 kB / 0.8372 GB, free: 3.961 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.278e-05/2.516, allocations: 154.5 kB / 0.8373 GB, free: 3.828 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/2.516, allocations: 101 kB / 0.8374 GB, free: 3.754 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001439/2.516, allocations: 367.8 kB / 0.8378 GB, free: 3.406 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/2.516, allocations: 98.56 kB / 0.8379 GB, free: 3.348 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/2.517, allocations: 281.8 kB / 0.8381 GB, free: 3.051 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/2.517, allocations: 425.1 kB / 0.8385 GB, free: 2.695 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/2.517, allocations: 0 / 0.8385 GB, free: 2.695 MB / 0.67 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0006826/2.518, allocations: 469.9 kB / 0.839 GB, free: 2.379 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/2.518, allocations: 8 kB / 0.839 GB, free: 2.371 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/2.518, allocations: 16.02 kB / 0.839 GB, free: 2.355 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/2.518, allocations: 8 kB / 0.839 GB, free: 2.348 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/2.518, allocations: 73.84 kB / 0.8391 GB, free: 2.285 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/2.518, allocations: 10.53 kB / 0.8391 GB, free: 2.277 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/2.518, allocations: 66.25 kB / 0.8392 GB, free: 2.215 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/2.519, allocations: 24.94 kB / 0.8392 GB, free: 2.195 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.0002279/2.519, allocations: 184.2 kB / 0.8394 GB, free: 2.047 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.005e-05/2.519, allocations: 55.28 kB / 0.8394 GB, free: 1.992 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007359/2.52, allocations: 0.637 MB / 0.84 GB, free: 1.562 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004998/2.52, allocations: 456 kB / 0.8405 GB, free: 1.246 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/2.52, allocations: 0 / 0.8405 GB, free: 1.246 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/2.52, allocations: 4.234 kB / 0.8405 GB, free: 1.242 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/2.522, allocations: 1.532 MB / 0.842 GB, free: 32 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/2.522, allocations: 4 kB / 0.842 GB, free: 28 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/2.522, allocations: 73.53 kB / 0.842 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/2.522, allocations: 8.125 kB / 0.8421 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/2.522, allocations: 12.77 kB / 0.8421 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/2.522, allocations: 4 kB / 0.8421 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/2.522, allocations: 0 / 0.8421 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006309/2.523, allocations: 0.6921 MB / 0.8427 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/2.523, allocations: 178 kB / 0.8429 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/2.523, allocations: 14.94 kB / 0.8429 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/2.523, allocations: 7 kB / 0.8429 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/2.523, allocations: 34.33 kB / 0.843 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/2.523, allocations: 15.81 kB / 0.843 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003546/2.524, allocations: 341.3 kB / 0.8433 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.82e-07/2.524, allocations: 4 kB / 0.8433 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004231/2.528, allocations: 1.488 MB / 0.8448 GB, free: 13.5 MB / 0.6856 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.006308/2.534, allocations: 2.141 MB / 0.8469 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008824/2.535, allocations: 0.5854 MB / 0.8474 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/2.535, allocations: 0 / 0.8474 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/2.535, allocations: 239.3 kB / 0.8477 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/2.537, allocations: 300.5 kB / 0.8479 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/2.539, allocations: 1.25 MB / 0.8492 GB, free: 9.688 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/2.539, allocations: 0.9583 MB / 0.8501 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002838/2.539, allocations: 105.5 kB / 0.8502 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/2.539, allocations: 51.44 kB / 0.8503 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of SimCode: time 4.11e-07/2.539, allocations: 0 / 0.8503 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of Templates: time 0.06509/2.605, allocations: 50.92 MB / 0.9 GB, free: 5.816 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 -s cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestFixedPowerHeatExchanger.pipe 2>&1)