Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.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.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7948/0.7948, allocations: 150.9 MB / 167.1 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004015, allocations: 11.98 kB / 205.9 MB, free: 9.035 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1428, allocations: 31.33 MB / 237.3 MB, free: 5.738 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.Examples.SimpleExamples.TestBend): time 1.557/1.7, allocations: 294.6 MB / 0.5194 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03722/1.737, allocations: 35.08 MB / 0.5537 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/1.737, allocations: 4 kB / 0.5537 GB, free: 10.13 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/Bend.mo:55:3-57:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/Bend.mo:58:3-60:43:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0005671/1.738, allocations: 276.1 kB / 0.554 GB, free: 9.859 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003186/1.738, allocations: 258.9 kB / 0.5542 GB, free: 9.605 MB / 446.1 MB [/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.02281/1.761, allocations: 9.82 MB / 0.5638 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006718/1.762, allocations: 0.491 MB / 0.5643 GB, free: 15.29 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/1.762, allocations: 189.3 kB / 0.5645 GB, free: 15.1 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/1.762, allocations: 239.2 kB / 0.5647 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/1.762, allocations: 291.1 kB / 0.565 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/1.762, allocations: 24 kB / 0.565 GB, free: 14.56 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02762/1.79, allocations: 18.05 MB / 0.5826 GB, free: 12.48 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001957/1.79, allocations: 175.4 kB / 0.5828 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/1.791, allocations: 270.2 kB / 0.5831 GB, free: 12.05 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01666/1.807, allocations: 8.862 MB / 0.5917 GB, free: 3.164 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.807, allocations: 0 / 0.5917 GB, free: 3.164 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/1.807, allocations: 3.938 kB / 0.5917 GB, free: 3.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/1.807, allocations: 0 / 0.5917 GB, free: 3.16 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003712/1.811, allocations: 1.819 MB / 0.5935 GB, free: 1.289 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/1.811, allocations: 8.031 kB / 0.5935 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.767e-05/1.811, allocations: 71.09 kB / 0.5936 GB, free: 1.211 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000552/1.812, allocations: 494.2 kB / 0.594 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/1.812, allocations: 20.56 kB / 0.5941 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/1.812, allocations: 23.94 kB / 0.5941 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/1.812, allocations: 435.1 kB / 0.5945 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.812, allocations: 4 kB / 0.5945 GB, free: 184 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/1.812, allocations: 12 kB / 0.5945 GB, free: 172 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/1.812, allocations: 15.98 kB / 0.5945 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004164/1.813, allocations: 345.8 kB / 0.5949 GB, free: 15.81 MB / 494.1 MB 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.03606/1.849, allocations: 18.68 MB / 0.6131 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005794/1.85, allocations: 174.6 kB / 0.6133 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/1.85, allocations: 100.8 kB / 0.6134 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.142/1.992, allocations: 77.93 MB / 0.6895 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/1.992, allocations: 38.56 kB / 0.6895 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 2.204e-06/1.992, allocations: 0 / 0.6895 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.00182/1.994, allocations: 0.5881 MB / 0.6901 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/1.994, allocations: 110.8 kB / 0.6902 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/1.995, allocations: 1 MB / 0.6912 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/1.995, allocations: 25.7 kB / 0.6912 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/1.995, allocations: 308.1 kB / 0.6915 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.607e-05/1.995, allocations: 122.1 kB / 0.6916 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.351e-05/1.995, allocations: 65.59 kB / 0.6917 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.995, allocations: 382.7 kB / 0.692 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/1.996, allocations: 156.4 kB / 0.6922 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/1.996, allocations: 243.1 kB / 0.6924 GB, free: 1.098 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003696/1.996, allocations: 332.8 kB / 0.6927 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/1.996, allocations: 0 / 0.6927 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000691/1.997, allocations: 0.5425 MB / 0.6933 GB, free: 200 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.997, allocations: 4 kB / 0.6933 GB, free: 196 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.997, allocations: 4 kB / 0.6933 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1547/2.152, allocations: 216 kB / 0.6935 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/2.152, allocations: 25.03 kB / 0.6935 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006201/2.152, allocations: 0.6795 MB / 0.6942 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/2.153, allocations: 42.66 kB / 0.6942 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/2.153, allocations: 10.05 kB / 0.6942 GB, free: 225 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 (Bend.C2.b,Bend.C1.a,SinkP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002898/2.153, allocations: 249.1 kB / 0.6944 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/2.153, allocations: 66.31 kB / 0.6945 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007146/2.154, allocations: 0.6945 MB / 0.6952 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003205/2.154, allocations: 252.9 kB / 0.6954 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/2.154, allocations: 2.312 kB / 0.6954 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/2.154, allocations: 1.781 kB / 0.6954 GB, free: 224.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/2.155, allocations: 0.984 MB / 0.6964 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/2.155, allocations: 3.141 kB / 0.6964 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/2.155, allocations: 14.62 kB / 0.6964 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008878/2.156, allocations: 179.8 kB / 0.6966 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/2.156, allocations: 6.312 kB / 0.6966 GB, free: 224.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004975/2.157, allocations: 0.7064 MB / 0.6973 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/2.157, allocations: 1.844 kB / 0.6973 GB, free: 223.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/2.157, allocations: 414.5 kB / 0.6977 GB, free: 223.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/2.158, allocations: 170.5 kB / 0.6978 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/2.158, allocations: 15 kB / 0.6978 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/2.158, allocations: 12.05 kB / 0.6979 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/2.158, allocations: 16.48 kB / 0.6979 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/2.158, allocations: 5.125 kB / 0.6979 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008036/2.159, allocations: 0.8095 MB / 0.6987 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/2.159, allocations: 2.375 kB / 0.6987 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003088/2.162, allocations: 1.252 MB / 0.6999 GB, free: 223.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 11 * 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 {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00431/2.166, allocations: 1.784 MB / 0.7016 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006627/2.167, allocations: 363.1 kB / 0.702 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/2.167, allocations: 0 / 0.702 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002596/2.167, allocations: 114.8 kB / 0.7021 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007689/2.168, allocations: 151.8 kB / 0.7022 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/2.169, allocations: 1.111 MB / 0.7033 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/2.17, allocations: 0.9323 MB / 0.7042 GB, free: 222 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001348/2.17, allocations: 58.41 kB / 0.7043 GB, free: 222 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/2.17, allocations: 32.53 kB / 0.7043 GB, free: 222 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/2.17, allocations: 0 / 0.7043 GB, free: 222 MB / 0.5762 GB Notification: Performance of Templates: time 0.04846/2.218, allocations: 45.58 MB / 0.7488 GB, free: 194.8 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.makefile (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1)