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.8155/0.8155, allocations: 150.9 MB / 167.1 MB, free: 14.54 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003278, allocations: 15.97 kB / 205.9 MB, free: 9.062 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.129, allocations: 31.33 MB / 237.3 MB, free: 5.719 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.548/1.677, allocations: 294.6 MB / 0.5195 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03725/1.714, allocations: 35.08 MB / 0.5537 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002145/1.714, allocations: 0 / 0.5537 GB, free: 10.16 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.0005093/1.715, allocations: 268 kB / 0.554 GB, free: 9.898 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003226/1.715, allocations: 266.8 kB / 0.5542 GB, free: 9.637 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.02252/1.738, allocations: 9.823 MB / 0.5638 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000638/1.738, allocations: 494.8 kB / 0.5643 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/1.739, allocations: 189.8 kB / 0.5645 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000284/1.739, allocations: 243.1 kB / 0.5647 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/1.739, allocations: 295.1 kB / 0.565 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/1.739, allocations: 24 kB / 0.565 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02764/1.767, allocations: 18.04 MB / 0.5826 GB, free: 12.52 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/1.767, allocations: 179.4 kB / 0.5828 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002724/1.767, allocations: 278.2 kB / 0.5831 GB, free: 12.07 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01629/1.784, allocations: 8.858 MB / 0.5917 GB, free: 3.191 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.784, allocations: 0 / 0.5917 GB, free: 3.191 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.753e-06/1.784, allocations: 4 kB / 0.5917 GB, free: 3.188 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/1.784, allocations: 0 / 0.5917 GB, free: 3.188 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.003876/1.788, allocations: 1.815 MB / 0.5935 GB, free: 1.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/1.788, allocations: 8.031 kB / 0.5935 GB, free: 1.312 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/1.788, allocations: 71.16 kB / 0.5936 GB, free: 1.242 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/1.788, allocations: 498.2 kB / 0.594 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/1.788, allocations: 20.56 kB / 0.5941 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/1.789, allocations: 24 kB / 0.5941 GB, free: 0.668 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005258/1.789, allocations: 429.2 kB / 0.5945 GB, free: 220 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/1.789, allocations: 4 kB / 0.5945 GB, free: 216 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/1.789, allocations: 8 kB / 0.5945 GB, free: 208 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/1.789, allocations: 15.98 kB / 0.5945 GB, free: 192 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004349/1.79, allocations: 347.7 kB / 0.5949 GB, free: 15.85 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.03609/1.826, allocations: 18.69 MB / 0.6131 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005698/1.826, allocations: 170.6 kB / 0.6133 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/1.826, allocations: 108.8 kB / 0.6134 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1451/1.972, allocations: 77.93 MB / 0.6895 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/1.972, allocations: 34.56 kB / 0.6895 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 3.326e-06/1.972, allocations: 3.938 kB / 0.6895 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.001795/1.973, allocations: 0.5881 MB / 0.6901 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/1.973, allocations: 102.8 kB / 0.6902 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.975, allocations: 1 MB / 0.6912 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/1.975, allocations: 29.7 kB / 0.6912 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/1.975, allocations: 312.1 kB / 0.6915 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.217e-05/1.975, allocations: 126.1 kB / 0.6916 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.483e-05/1.975, allocations: 61.59 kB / 0.6917 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.975, allocations: 382.7 kB / 0.692 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/1.975, allocations: 160.4 kB / 0.6922 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/1.976, allocations: 247 kB / 0.6924 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/1.976, allocations: 332.8 kB / 0.6927 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.976, allocations: 3.938 kB / 0.6927 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006861/1.977, allocations: 0.5307 MB / 0.6933 GB, free: 228 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/1.977, allocations: 8 kB / 0.6933 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/1.977, allocations: 0 / 0.6933 GB, free: 220 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1394/2.116, allocations: 221.2 kB / 0.6935 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/2.116, allocations: 17.41 kB / 0.6935 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006869/2.117, allocations: 0.6753 MB / 0.6942 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/2.117, allocations: 45.41 kB / 0.6942 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/2.117, allocations: 6.5 kB / 0.6942 GB, free: 225.1 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.0002676/2.118, allocations: 256 kB / 0.6945 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.535e-05/2.118, allocations: 64.62 kB / 0.6945 GB, free: 225 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006994/2.118, allocations: 0.6939 MB / 0.6952 GB, free: 224.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000318/2.119, allocations: 251.5 kB / 0.6954 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/2.119, allocations: 1.281 kB / 0.6954 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/2.119, allocations: 3.031 kB / 0.6954 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/2.12, allocations: 0.9835 MB / 0.6964 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/2.12, allocations: 0.5 kB / 0.6964 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.556e-05/2.12, allocations: 17.66 kB / 0.6964 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009485/2.121, allocations: 179 kB / 0.6966 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/2.121, allocations: 3.422 kB / 0.6966 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00053/2.122, allocations: 0.7039 MB / 0.6973 GB, free: 223.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/2.122, allocations: 1.125 kB / 0.6973 GB, free: 223.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/2.122, allocations: 415.2 kB / 0.6977 GB, free: 223.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/2.122, allocations: 168.3 kB / 0.6978 GB, free: 223.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.193e-05/2.122, allocations: 16.97 kB / 0.6978 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/2.123, allocations: 18.56 kB / 0.6979 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/2.123, allocations: 10.3 kB / 0.6979 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/2.123, allocations: 8.516 kB / 0.6979 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008697/2.124, allocations: 0.8133 MB / 0.6987 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/2.124, allocations: 1.25 kB / 0.6987 GB, free: 223.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003019/2.127, allocations: 1.253 MB / 0.6999 GB, free: 223.4 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.005017/2.132, allocations: 1.783 MB / 0.7016 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006388/2.132, allocations: 362.1 kB / 0.702 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/2.132, allocations: 0.5625 kB / 0.702 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/2.133, allocations: 116.8 kB / 0.7021 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007681/2.133, allocations: 144 kB / 0.7022 GB, free: 223.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/2.135, allocations: 1.12 MB / 0.7033 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/2.135, allocations: 0.9315 MB / 0.7042 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001322/2.135, allocations: 60.75 kB / 0.7043 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/2.135, allocations: 29.56 kB / 0.7043 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/2.135, allocations: 4.219 kB / 0.7043 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.04701/2.182, allocations: 45.57 MB / 0.7488 GB, free: 194.9 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 gbode -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1)