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.8337/0.8337, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003737, allocations: 15.8 kB / 237.8 MB, free: 1.754 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05728/0.05767, allocations: 31.35 MB / 269.1 MB, free: 7.031 MB / 222.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.651/1.709, allocations: 296.3 MB / 0.5521 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4903/2.199, allocations: 186.1 MB / 0.7339 GB, free: 340 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003413/2.2, allocations: 15.19 kB / 0.7339 GB, free: 340 kB / 0.5919 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.0004434/2.2, allocations: 179.4 kB / 0.7341 GB, free: 340 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004683/2.201, allocations: 285.1 kB / 0.7344 GB, free: 336 kB / 0.5919 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.02849/2.229, allocations: 11.18 MB / 0.7453 GB, free: 112 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001059/2.23, allocations: 0.8208 MB / 0.7461 GB, free: 112 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/2.231, allocations: 392.6 kB / 0.7464 GB, free: 40 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003741/2.231, allocations: 355.5 kB / 0.7468 GB, free: 40 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/2.231, allocations: 327.1 kB / 0.7471 GB, free: 40 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.299e-05/2.231, allocations: 59.91 kB / 0.7472 GB, free: 40 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03206/2.263, allocations: 19.46 MB / 0.7662 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002526/2.264, allocations: 143.3 kB / 0.7663 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005282/2.264, allocations: 391.5 kB / 0.7667 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02165/2.286, allocations: 9.93 MB / 0.7764 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/2.286, allocations: 4 kB / 0.7764 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.213e-06/2.286, allocations: 4.578 kB / 0.7764 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.026e-05/2.286, allocations: 0 / 0.7764 GB, free: 10.51 MB / 0.6075 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.005247/2.291, allocations: 2.099 MB / 0.7784 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/2.291, allocations: 10.34 kB / 0.7784 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/2.291, allocations: 90.98 kB / 0.7785 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005933/2.292, allocations: 432.5 kB / 0.7789 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/2.292, allocations: 52.5 kB / 0.779 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.287e-05/2.292, allocations: 67.31 kB / 0.779 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009308/2.293, allocations: 0.7047 MB / 0.7797 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/2.293, allocations: 1.5 kB / 0.7797 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/2.293, allocations: 32 kB / 0.7798 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/2.293, allocations: 28.67 kB / 0.7798 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006118/2.294, allocations: 437.2 kB / 0.7802 GB, free: 8.473 MB / 0.6075 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.01679/2.311, allocations: 11.96 MB / 0.7919 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/2.311, allocations: 128.7 kB / 0.792 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/2.311, allocations: 97.69 kB / 0.7921 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1532/2.464, allocations: 77.41 MB / 0.8677 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/2.464, allocations: 40.45 kB / 0.8677 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=46): time 2.966e-06/2.464, allocations: 0 / 0.8677 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of matching and sorting (n=46): time 0.0007909/2.465, allocations: 320.4 kB / 0.868 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/2.465, allocations: 83.36 kB / 0.8681 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005884/2.466, allocations: 0.4913 MB / 0.8686 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/2.466, allocations: 25.7 kB / 0.8686 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/2.466, allocations: 373.6 kB / 0.869 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/2.466, allocations: 158.9 kB / 0.8691 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/2.466, allocations: 110.1 kB / 0.8692 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001286/2.466, allocations: 363.3 kB / 0.8696 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/2.467, allocations: 97.61 kB / 0.8697 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/2.467, allocations: 286.4 kB / 0.87 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/2.467, allocations: 426.7 kB / 0.8704 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/2.467, allocations: 0 / 0.8704 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0007217/2.468, allocations: 465.6 kB / 0.8708 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/2.468, allocations: 8 kB / 0.8708 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/2.468, allocations: 5.203 kB / 0.8708 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/2.468, allocations: 8 kB / 0.8708 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/2.469, allocations: 78.62 kB / 0.8709 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/2.469, allocations: 14.86 kB / 0.8709 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/2.469, allocations: 71.36 kB / 0.871 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/2.469, allocations: 25.17 kB / 0.871 GB, free: 10.01 MB / 0.7012 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.0002185/2.469, allocations: 197.5 kB / 0.8712 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.04e-05/2.469, allocations: 56.56 kB / 0.8713 GB, free: 9.762 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007787/2.47, allocations: 0.6334 MB / 0.8719 GB, free: 9.117 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/2.47, allocations: 3.984 kB / 0.8719 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/2.47, allocations: 0 / 0.8719 GB, free: 9.113 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/2.47, allocations: 173.5 kB / 0.872 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.59e-05/2.47, allocations: 3.938 kB / 0.872 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/2.47, allocations: 4 kB / 0.872 GB, free: 8.918 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/2.471, allocations: 15.17 kB / 0.8721 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007079/2.471, allocations: 0.6961 MB / 0.8727 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006916/2.472, allocations: 0.8075 MB / 0.8735 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002698/2.472, allocations: 272.3 kB / 0.8738 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003847/2.473, allocations: 338.9 kB / 0.8741 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of Backend: time 3.51e-07/2.473, allocations: 2.344 kB / 0.8741 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01413/2.487, allocations: 3.702 MB / 0.8777 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of SimCode: time 0.002505/2.489, allocations: 1.951 MB / 0.8796 GB, free: 1.488 MB / 0.7012 GB Notification: Performance of Templates: time 0.09096/2.58, allocations: 74.6 MB / 0.9525 GB, free: 6.949 MB / 0.7794 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)