Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.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.TestStaticExchangerKS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8786/0.8786, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 20.66 kB / 237.8 MB, free: 1.758 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05741/0.05778, 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.TestStaticExchangerKS): time 1.733/1.791, allocations: 295.9 MB / 0.5518 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5391/2.33, allocations: 188.6 MB / 0.7359 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/2.331, allocations: 12.28 kB / 0.736 GB, free: 1.738 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/StaticExchangerKS.mo:58:3-60:35: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/HeatExchangers/StaticExchangerKS.mo:61:3-63:37: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/StaticExchangerKS.mo:64:3-66:35: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/StaticExchangerKS.mo:67:3-69:32: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/BoundaryConditions/SourceP.mo:58:3-59: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/SinkP.mo:46:3-47: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.0002011/2.331, allocations: 84.19 kB / 0.736 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000421/2.331, allocations: 227.1 kB / 0.7363 GB, free: 1.734 MB / 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84:writable] Warning: T 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.03492/2.366, allocations: 11.89 MB / 0.7479 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009021/2.367, allocations: 0.7789 MB / 0.7486 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/2.368, allocations: 399.6 kB / 0.749 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002519/2.368, allocations: 308.2 kB / 0.7493 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002831/2.368, allocations: 345.6 kB / 0.7496 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.068e-05/2.368, allocations: 71.12 kB / 0.7497 GB, free: 1.457 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0337/2.402, allocations: 20.23 MB / 0.7695 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002562/2.402, allocations: 159.4 kB / 0.7696 GB, free: 0.5703 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005228/2.403, allocations: 369.2 kB / 0.77 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03062/2.433, allocations: 10.33 MB / 0.78 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/2.433, allocations: 0 / 0.78 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.663e-06/2.433, allocations: 0.75 kB / 0.78 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.368e-05/2.433, allocations: 0 / 0.78 GB, free: 12.81 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: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.005816/2.439, allocations: 2.096 MB / 0.7821 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/2.439, allocations: 8.562 kB / 0.7821 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/2.439, allocations: 81.09 kB / 0.7822 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006123/2.44, allocations: 448.5 kB / 0.7826 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/2.44, allocations: 56.59 kB / 0.7827 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.724e-05/2.44, allocations: 67.19 kB / 0.7827 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009176/2.441, allocations: 0.6821 MB / 0.7834 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/2.441, allocations: 6.719 kB / 0.7834 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/2.441, allocations: 25.56 kB / 0.7834 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/2.441, allocations: 21.25 kB / 0.7834 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006789/2.442, allocations: 0.4888 MB / 0.7839 GB, free: 10.84 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.01604/2.458, allocations: 11.86 MB / 0.7955 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/2.458, allocations: 189.1 kB / 0.7957 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/2.458, allocations: 85.83 kB / 0.7958 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3408/2.799, allocations: 151.1 MB / 0.9433 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/2.799, allocations: 38.56 kB / 0.9434 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=19): time 2.885e-06/2.799, allocations: 0 / 0.9434 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19): time 0.003171/2.802, allocations: 0.7551 MB / 0.9441 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/2.803, allocations: 55.41 kB / 0.9442 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/2.803, allocations: 473.8 kB / 0.9446 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/2.803, allocations: 25.7 kB / 0.9446 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/2.804, allocations: 367.6 kB / 0.945 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.614e-05/2.804, allocations: 73.73 kB / 0.9451 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/2.804, allocations: 94.03 kB / 0.9451 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000149/2.804, allocations: 358.8 kB / 0.9455 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/2.804, allocations: 88.84 kB / 0.9456 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/2.804, allocations: 270.7 kB / 0.9458 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/2.805, allocations: 372.7 kB / 0.9462 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/2.805, allocations: 4 kB / 0.9462 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008457/2.806, allocations: 0.4884 MB / 0.9467 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/2.806, allocations: 12.12 kB / 0.9467 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/2.806, allocations: 6.375 kB / 0.9467 GB, free: 8.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003411/2.809, allocations: 0.5126 MB / 0.9472 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/2.809, allocations: 55.17 kB / 0.9472 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/2.811, allocations: 0.7987 MB / 0.948 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/2.811, allocations: 59.28 kB / 0.9481 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/2.811, allocations: 28 kB / 0.9481 GB, free: 7.086 MB / 0.7794 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,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 (34): * Single equations (assignments): 33 * 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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0002385/2.811, allocations: 187.1 kB / 0.9483 GB, free: 6.902 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/2.811, allocations: 51.42 kB / 0.9483 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001081/2.812, allocations: 428.5 kB / 0.9487 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/2.812, allocations: 3.984 kB / 0.9487 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/2.812, allocations: 1.203 kB / 0.9487 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/2.813, allocations: 144.4 kB / 0.9489 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.575e-05/2.813, allocations: 12 kB / 0.9489 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/2.813, allocations: 0 / 0.9489 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/2.813, allocations: 15.98 kB / 0.9489 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001078/2.814, allocations: 417.7 kB / 0.9493 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006031/2.815, allocations: 488.3 kB / 0.9498 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001242/2.815, allocations: 59.97 kB / 0.9498 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003695/2.815, allocations: 322.9 kB / 0.9501 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of Backend: time 7.32e-07/2.815, allocations: 0 / 0.9501 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01548/2.831, allocations: 3.738 MB / 0.9538 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of SimCode: time 0.002131/2.833, allocations: 1.551 MB / 0.9553 GB, free: 100 kB / 0.7794 GB Notification: Performance of Templates: time 0.3378/3.171, allocations: 75.97 MB / 1.029 GB, free: 460.8 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerKS.pipe 2>&1)