Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.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.TestRefP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8374/0.8374, allocations: 150.9 MB / 167.2 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 21.91 kB / 237.8 MB, free: 1.773 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05261/0.05296, 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.TestRefP): time 1.614/1.667, allocations: 297.1 MB / 0.5529 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5359/2.203, allocations: 195.8 MB / 0.7441 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007806/2.204, allocations: 14.36 kB / 0.7441 GB, free: 0.6602 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/RefP.mo:10:3-11:67:writable] Warning: Connector C1 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/RefP.mo:12:3-13:65:writable] Warning: Connector C2 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/Machines/StaticCentrifugalPump.mo:63:3-64:67:writable] Warning: Connector C1 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/Machines/StaticCentrifugalPump.mo:65:3-66:65:writable] Warning: Connector C2 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/LoopBreakers/LoopBreakerQ.mo:5:3-6:67:writable] Warning: Connector C1 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/LoopBreakers/LoopBreakerQ.mo:7:3-8:65:writable] Warning: Connector C2 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/LoopBreakers/LoopBreakerH.mo:5:3-6:67:writable] Warning: Connector C1 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/LoopBreakers/LoopBreakerH.mo:7:3-8:65:writable] Warning: Connector C2 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/RefT.mo:19:3-20:67:writable] Warning: Connector C1 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/RefT.mo:21:3-22:65:writable] Warning: Connector C2 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/PressureLosses/LumpedStraightPipe.mo:54:3-55:67:writable] Warning: Connector C1 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/PressureLosses/LumpedStraightPipe.mo:56:3-57:65:writable] Warning: Connector C2 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/Volumes/VolumeA.mo:104:3-105:67:writable] Warning: Connector Ce1 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/Volumes/VolumeA.mo:106:3-108:57:writable] Warning: Connector Ce2 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/Volumes/VolumeA.mo:109:3-110:73:writable] Warning: Connector Cs1 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/Volumes/VolumeA.mo:111:3-112:75:writable] Warning: Connector Cs2 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.0003636/2.204, allocations: 123.9 kB / 0.7443 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0007075/2.205, allocations: 313.1 kB / 0.7445 GB, free: 0.6523 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.03886/2.244, allocations: 13.72 MB / 0.758 GB, free: 280 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001588/2.246, allocations: 1.24 MB / 0.7592 GB, free: 272 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006083/2.246, allocations: 0.6853 MB / 0.7598 GB, free: 160 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000444/2.247, allocations: 499.1 kB / 0.7603 GB, free: 156 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004394/2.247, allocations: 0.5556 MB / 0.7608 GB, free: 156 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/2.247, allocations: 123.8 kB / 0.761 GB, free: 156 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04201/2.289, allocations: 22.79 MB / 0.7832 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003693/2.29, allocations: 274 kB / 0.7835 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008884/2.291, allocations: 0.5942 MB / 0.7841 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02964/2.32, allocations: 12.12 MB / 0.7959 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/2.32, allocations: 3 kB / 0.7959 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/2.32, allocations: 0 / 0.7959 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.387e-05/2.32, allocations: 0 / 0.7959 GB, free: 7.348 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: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.007154/2.327, allocations: 2.748 MB / 0.7986 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/2.327, allocations: 10.09 kB / 0.7986 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002715/2.328, allocations: 132.8 kB / 0.7987 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008211/2.329, allocations: 0.5134 MB / 0.7992 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.896e-05/2.329, allocations: 93.11 kB / 0.7993 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/2.329, allocations: 111.3 kB / 0.7994 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002429/2.331, allocations: 1.207 MB / 0.8006 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/2.331, allocations: 2.156 kB / 0.8006 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/2.331, allocations: 55.94 kB / 0.8007 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.668e-05/2.332, allocations: 34.34 kB / 0.8007 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/2.333, allocations: 0.8515 MB / 0.8015 GB, free: 2.859 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.02481/2.358, allocations: 15.6 MB / 0.8168 GB, free: 1.688 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008682/2.359, allocations: 331.8 kB / 0.8171 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/2.359, allocations: 104.8 kB / 0.8172 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7847/3.144, allocations: 285.7 MB / 1.096 GB, free: 400.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/3.144, allocations: 42.38 kB / 1.096 GB, free: 400.8 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=29): time 2.575e-06/3.144, allocations: 0 / 1.096 GB, free: 400.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29): time 0.005941/3.15, allocations: 1.194 MB / 1.097 GB, free: 399.7 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/3.15, allocations: 59.03 kB / 1.097 GB, free: 399.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000591/3.151, allocations: 0.5777 MB / 1.098 GB, free: 399.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/3.151, allocations: 29.64 kB / 1.098 GB, free: 399.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/3.151, allocations: 0.5437 MB / 1.099 GB, free: 398.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.261e-05/3.151, allocations: 107.4 kB / 1.099 GB, free: 398.7 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/3.151, allocations: 172.8 kB / 1.099 GB, free: 398.6 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.923e-05/3.151, allocations: 373 kB / 1.099 GB, free: 398.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/3.151, allocations: 137 kB / 1.099 GB, free: 398.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/3.152, allocations: 483.2 kB / 1.1 GB, free: 397.6 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/3.152, allocations: 0.6527 MB / 1.1 GB, free: 397 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/3.152, allocations: 4 kB / 1.1 GB, free: 397 MB / 0.8419 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002343/3.155, allocations: 0.9137 MB / 1.101 GB, free: 396.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/3.155, allocations: 11.94 kB / 1.101 GB, free: 396.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/3.155, allocations: 15.98 kB / 1.101 GB, free: 396.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/3.156, allocations: 286.5 kB / 1.102 GB, free: 396 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/3.157, allocations: 129.9 kB / 1.102 GB, free: 395.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006783/3.157, allocations: 0.7701 MB / 1.102 GB, free: 395.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/3.158, allocations: 90.33 kB / 1.103 GB, free: 395.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/3.158, allocations: 39.92 kB / 1.103 GB, free: 395.1 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 16 (volumeA.fluid1,volumeA.Cs2.ftype,volumeA.Cs1.ftype,volumeA.Ce2.ftype,volumeA.fluids[1],pump.fluid,refT.fluid,lumpedStraightPipe.fluid,volumeA.Cs2.diff_on_1,volumeA.Cs1.diff_on_1,lumpedStraightPipe.C2.diff_on_1,volumeA.Ce2.diff_on_2,volumeA.Ce1.diff_on_2,refT.C1.diff_on_2,volumeA.Cs2.diff_on_2,volumeA.Ce2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 {(3,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0003117/3.158, allocations: 256.5 kB / 1.103 GB, free: 394.9 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/3.158, allocations: 59.25 kB / 1.103 GB, free: 394.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/3.159, allocations: 489.4 kB / 1.103 GB, free: 394.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/3.159, allocations: 7.922 kB / 1.103 GB, free: 394.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/3.159, allocations: 4 kB / 1.103 GB, free: 394.5 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/3.16, allocations: 163.7 kB / 1.104 GB, free: 394.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/3.16, allocations: 7.938 kB / 1.104 GB, free: 394.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/3.16, allocations: 8.594 kB / 1.104 GB, free: 394.3 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/3.16, allocations: 20.66 kB / 1.104 GB, free: 394.3 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001219/3.161, allocations: 480.6 kB / 1.104 GB, free: 393.9 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006284/3.162, allocations: 0.5634 MB / 1.105 GB, free: 393.4 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001601/3.162, allocations: 88.52 kB / 1.105 GB, free: 393.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003175/3.162, allocations: 370.8 kB / 1.105 GB, free: 393.1 MB / 0.8419 GB Notification: Performance of Backend: time 4.31e-07/3.162, allocations: 0 / 1.105 GB, free: 393.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01599/3.178, allocations: 4.494 MB / 1.109 GB, free: 389.6 MB / 0.8419 GB Notification: Performance of SimCode: time 0.002133/3.18, allocations: 1.911 MB / 1.111 GB, free: 387.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.07827/3.259, allocations: 83.89 MB / 1.193 GB, free: 304.6 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP.pipe 2>&1)