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.7775/0.7775, allocations: 150.9 MB / 166.7 MB, free: 14.61 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003163/0.0003161, allocations: 15.97 kB / 204.8 MB, free: 10.06 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1494, allocations: 31.32 MB / 236.1 MB, free: 5.457 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.501/1.65, allocations: 293.8 MB / 0.5175 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03785/1.688, allocations: 35.29 MB / 0.5519 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002758/1.688, allocations: 4 kB / 0.5519 GB, free: 10.39 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.0005572/1.689, allocations: 256.4 kB / 0.5522 GB, free: 10.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/1.689, allocations: 239.1 kB / 0.5524 GB, free: 9.902 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.02274/1.712, allocations: 8.618 MB / 0.5608 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006667/1.713, allocations: 498.8 kB / 0.5613 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/1.713, allocations: 181.4 kB / 0.5615 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002958/1.713, allocations: 239.1 kB / 0.5617 GB, free: 388 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/1.713, allocations: 303.1 kB / 0.562 GB, free: 84 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.288e-05/1.714, allocations: 28 kB / 0.562 GB, free: 56 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02696/1.741, allocations: 17.9 MB / 0.5795 GB, free: 14.13 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002331/1.741, allocations: 187.4 kB / 0.5797 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003054/1.741, allocations: 270.2 kB / 0.5799 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009948/1.751, allocations: 6.059 MB / 0.5858 GB, free: 7.609 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.751, allocations: 0 / 0.5858 GB, free: 7.609 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.343e-06/1.751, allocations: 0 / 0.5858 GB, free: 7.609 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/1.751, allocations: 3.984 kB / 0.5858 GB, free: 7.605 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.004219/1.755, allocations: 1.811 MB / 0.5876 GB, free: 5.742 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.755, allocations: 12.03 kB / 0.5876 GB, free: 5.73 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/1.756, allocations: 71.16 kB / 0.5877 GB, free: 5.66 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/1.756, allocations: 498.2 kB / 0.5882 GB, free: 5.129 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/1.756, allocations: 20.55 kB / 0.5882 GB, free: 5.105 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/1.756, allocations: 29.34 kB / 0.5882 GB, free: 5.078 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/1.757, allocations: 433.2 kB / 0.5886 GB, free: 4.621 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.757, allocations: 3.938 kB / 0.5886 GB, free: 4.617 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/1.757, allocations: 12 kB / 0.5886 GB, free: 4.605 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/1.757, allocations: 12 kB / 0.5886 GB, free: 4.594 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/1.757, allocations: 341.8 kB / 0.589 GB, free: 4.258 MB / 478.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.0343/1.791, allocations: 18.6 MB / 0.6071 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005727/1.792, allocations: 166.6 kB / 0.6073 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/1.792, allocations: 101.5 kB / 0.6074 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1387/1.931, allocations: 77.47 MB / 0.683 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/1.931, allocations: 39.2 kB / 0.6831 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 2.265e-06/1.931, allocations: 0 / 0.6831 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.00171/1.933, allocations: 0.5879 MB / 0.6837 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/1.933, allocations: 102.8 kB / 0.6838 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/1.934, allocations: 1 MB / 0.6847 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/1.934, allocations: 29.7 kB / 0.6848 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/1.934, allocations: 312.1 kB / 0.6851 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.959e-05/1.934, allocations: 118.1 kB / 0.6852 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.654e-05/1.934, allocations: 73.53 kB / 0.6852 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.934, allocations: 386.6 kB / 0.6856 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/1.934, allocations: 152.4 kB / 0.6858 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/1.935, allocations: 239.1 kB / 0.686 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/1.935, allocations: 332.7 kB / 0.6863 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.935, allocations: 4 kB / 0.6863 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006304/1.936, allocations: 0.5306 MB / 0.6868 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.936, allocations: 8 kB / 0.6868 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.936, allocations: 0 / 0.6868 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/1.937, allocations: 230.2 kB / 0.6871 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.435e-05/1.937, allocations: 19.98 kB / 0.6871 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005792/1.938, allocations: 0.6771 MB / 0.6877 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/1.938, allocations: 39.52 kB / 0.6878 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/1.938, allocations: 16.06 kB / 0.6878 GB, free: 4.191 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.000234/1.939, allocations: 259.3 kB / 0.688 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/1.939, allocations: 63.16 kB / 0.6881 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007056/1.939, allocations: 0.7017 MB / 0.6888 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003162/1.94, allocations: 250.4 kB / 0.689 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.94, allocations: 0 / 0.689 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.94, allocations: 0 / 0.689 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/1.941, allocations: 0.9942 MB / 0.69 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.941, allocations: 0 / 0.69 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/1.941, allocations: 16 kB / 0.69 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00087/1.942, allocations: 177.6 kB / 0.6902 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/1.942, allocations: 4 kB / 0.6902 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005235/1.942, allocations: 0.7097 MB / 0.6909 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.942, allocations: 0 / 0.6909 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/1.943, allocations: 416.2 kB / 0.6913 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/1.943, allocations: 168.2 kB / 0.6914 GB, free: 244 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.296e-05/1.943, allocations: 15.84 kB / 0.6914 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/1.943, allocations: 16.05 kB / 0.6915 GB, free: 212 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/1.943, allocations: 11.98 kB / 0.6915 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/1.943, allocations: 4 kB / 0.6915 GB, free: 196 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.1593/2.102, allocations: 0.8098 MB / 0.6923 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.61e-07/2.102, allocations: 0 / 0.6923 GB, free: 225.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003529/2.106, allocations: 1.252 MB / 0.6935 GB, free: 225.7 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.005022/2.111, allocations: 1.839 MB / 0.6953 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000732/2.112, allocations: 358.9 kB / 0.6956 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/2.112, allocations: 0 / 0.6956 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/2.112, allocations: 112.1 kB / 0.6957 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000893/2.113, allocations: 154.4 kB / 0.6959 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/2.114, allocations: 1.368 MB / 0.6972 GB, free: 224.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/2.115, allocations: 0.9309 MB / 0.6981 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/2.115, allocations: 33.44 kB / 0.6982 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/2.115, allocations: 2.375 kB / 0.6982 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.03629/2.151, allocations: 29.86 MB / 0.7273 GB, free: 214.3 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestBend.pipe 2>&1)