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.7613/0.7613, allocations: 150.9 MB / 167.2 MB, free: 14.52 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003087, allocations: 16.03 kB / 237.8 MB, free: 1.73 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04519/0.04551, allocations: 31.35 MB / 269.1 MB, free: 7.043 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.Examples.SimpleExamples.TestBend): time 1.449/1.494, allocations: 294.8 MB / 0.5507 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03475/1.529, allocations: 35.08 MB / 0.585 GB, free: 9.703 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/1.529, allocations: 4 kB / 0.585 GB, free: 9.699 MB / 478.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.0005065/1.53, allocations: 277.3 kB / 0.5853 GB, free: 9.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003489/1.53, allocations: 254.9 kB / 0.5855 GB, free: 9.18 MB / 478.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.02121/1.552, allocations: 9.829 MB / 0.5951 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006066/1.552, allocations: 0.491 MB / 0.5956 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/1.552, allocations: 188.4 kB / 0.5958 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/1.553, allocations: 227.2 kB / 0.596 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000312/1.553, allocations: 295.1 kB / 0.5963 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.896e-05/1.553, allocations: 28 kB / 0.5963 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02659/1.58, allocations: 18.04 MB / 0.6139 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002314/1.58, allocations: 179.3 kB / 0.6141 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003086/1.58, allocations: 274.2 kB / 0.6143 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0139/1.594, allocations: 8.858 MB / 0.623 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/1.594, allocations: 0 / 0.623 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.193e-06/1.594, allocations: 0 / 0.623 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.266e-05/1.594, allocations: 0 / 0.623 GB, free: 2.734 MB / 0.4981 GB 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.003605/1.598, allocations: 1.821 MB / 0.6248 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/1.598, allocations: 12.03 kB / 0.6248 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/1.598, allocations: 75 kB / 0.6249 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/1.599, allocations: 490.3 kB / 0.6253 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/1.599, allocations: 20.56 kB / 0.6253 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/1.599, allocations: 24 kB / 0.6254 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/1.599, allocations: 433.3 kB / 0.6258 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.599, allocations: 3.938 kB / 0.6258 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/1.599, allocations: 12 kB / 0.6258 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/1.599, allocations: 15.98 kB / 0.6258 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003796/1.6, allocations: 345.7 kB / 0.6261 GB, free: 15.38 MB / 0.5137 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.0356/1.635, allocations: 18.7 MB / 0.6444 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/1.636, allocations: 174.5 kB / 0.6446 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/1.636, allocations: 108.8 kB / 0.6447 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2987/1.935, allocations: 77.91 MB / 0.7208 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/1.935, allocations: 32.44 kB / 0.7208 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=38): time 2.174e-06/1.935, allocations: 0 / 0.7208 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.001488/1.936, allocations: 0.5883 MB / 0.7214 GB, free: 209.6 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/1.936, allocations: 113.5 kB / 0.7215 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008457/1.937, allocations: 1.003 MB / 0.7224 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/1.937, allocations: 34.17 kB / 0.7225 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/1.937, allocations: 303.1 kB / 0.7228 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/1.937, allocations: 128.5 kB / 0.7229 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.001e-05/1.937, allocations: 61.48 kB / 0.723 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/1.937, allocations: 386.6 kB / 0.7233 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/1.938, allocations: 153.7 kB / 0.7235 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/1.938, allocations: 236.5 kB / 0.7237 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/1.938, allocations: 335.2 kB / 0.724 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.938, allocations: 0 / 0.724 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005146/1.939, allocations: 0.5374 MB / 0.7245 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/1.939, allocations: 5.688 kB / 0.7245 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.939, allocations: 3.094 kB / 0.7245 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001418/1.94, allocations: 223 kB / 0.7248 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/1.94, allocations: 27.98 kB / 0.7248 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004317/1.941, allocations: 0.6761 MB / 0.7254 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/1.941, allocations: 40.95 kB / 0.7255 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/1.941, allocations: 10.2 kB / 0.7255 GB, free: 208.1 MB / 0.5919 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.0001703/1.941, allocations: 253 kB / 0.7257 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/1.941, allocations: 63.84 kB / 0.7258 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005698/1.942, allocations: 0.7 MB / 0.7265 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002637/1.942, allocations: 247.7 kB / 0.7267 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.942, allocations: 0 / 0.7267 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/1.942, allocations: 1.594 kB / 0.7267 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008601/1.943, allocations: 0.9819 MB / 0.7277 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.943, allocations: 0 / 0.7277 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/1.943, allocations: 15.08 kB / 0.7277 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007692/1.944, allocations: 182.9 kB / 0.7279 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/1.944, allocations: 5.906 kB / 0.7279 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003974/1.944, allocations: 0.6984 MB / 0.7286 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.944, allocations: 6.031 kB / 0.7286 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/1.944, allocations: 416.7 kB / 0.729 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/1.944, allocations: 173.3 kB / 0.7291 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/1.945, allocations: 14.72 kB / 0.7291 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/1.945, allocations: 12.39 kB / 0.7291 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/1.945, allocations: 12.97 kB / 0.7292 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/1.945, allocations: 11.23 kB / 0.7292 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006336/1.945, allocations: 0.8088 MB / 0.73 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.945, allocations: 0 / 0.73 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002284/1.948, allocations: 1.257 MB / 0.7312 GB, free: 206.2 MB / 0.5919 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.003578/1.951, allocations: 1.787 MB / 0.7329 GB, free: 206 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005265/1.952, allocations: 362.8 kB / 0.7333 GB, free: 206 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.952, allocations: 0 / 0.7333 GB, free: 206 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002415/1.952, allocations: 110.1 kB / 0.7334 GB, free: 206 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007121/1.953, allocations: 153.5 kB / 0.7335 GB, free: 206 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/1.954, allocations: 1.168 MB / 0.7347 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/1.954, allocations: 0.9356 MB / 0.7356 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/1.954, allocations: 37.38 kB / 0.7356 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/1.954, allocations: 0 / 0.7356 GB, free: 204.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.02503/1.979, allocations: 29.84 MB / 0.7648 GB, free: 183.8 MB / 0.5919 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1)