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.8292/0.8292, allocations: 150.9 MB / 166.5 MB, free: 14.43 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.00044, allocations: 18.22 kB / 237.1 MB, free: 1.934 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07553/0.07599, allocations: 31.36 MB / 268.5 MB, free: 7.137 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.603/1.679, allocations: 294.9 MB / 0.5502 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03838/1.717, allocations: 35.08 MB / 0.5844 GB, free: 9.855 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002869/1.717, allocations: 4 kB / 0.5844 GB, free: 9.852 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.0005852/1.718, allocations: 295 kB / 0.5847 GB, free: 9.562 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/1.718, allocations: 274.9 kB / 0.585 GB, free: 9.293 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.02323/1.742, allocations: 9.996 MB / 0.5947 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007336/1.742, allocations: 0.4949 MB / 0.5952 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/1.743, allocations: 184.4 kB / 0.5954 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/1.743, allocations: 243.1 kB / 0.5956 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/1.743, allocations: 291.1 kB / 0.5959 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/1.743, allocations: 24 kB / 0.5959 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02866/1.772, allocations: 18.05 MB / 0.6135 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002321/1.772, allocations: 175.4 kB / 0.6137 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002945/1.772, allocations: 274.2 kB / 0.614 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01891/1.791, allocations: 8.858 MB / 0.6226 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/1.791, allocations: 0 / 0.6226 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.764e-06/1.791, allocations: 0 / 0.6226 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.347e-06/1.791, allocations: 0 / 0.6226 GB, free: 2.668 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.004511/1.796, allocations: 1.819 MB / 0.6244 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/1.796, allocations: 11.97 kB / 0.6244 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/1.796, allocations: 71.06 kB / 0.6245 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005307/1.797, allocations: 490.3 kB / 0.6249 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/1.797, allocations: 16.56 kB / 0.625 GB, free: 180 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/1.797, allocations: 24 kB / 0.625 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/1.797, allocations: 433.3 kB / 0.6254 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.797, allocations: 3.938 kB / 0.6254 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/1.797, allocations: 12 kB / 0.6254 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.589e-05/1.797, allocations: 15.98 kB / 0.6254 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/1.798, allocations: 345.7 kB / 0.6258 GB, free: 15.32 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.03982/1.838, allocations: 18.7 MB / 0.644 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/1.838, allocations: 174.6 kB / 0.6442 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/1.838, allocations: 104.8 kB / 0.6443 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3261/2.164, allocations: 77.91 MB / 0.7204 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/2.165, allocations: 32.75 kB / 0.7204 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=38): time 2.204e-06/2.165, allocations: 0 / 0.7204 GB, free: 210.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.001724/2.166, allocations: 0.5872 MB / 0.721 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/2.166, allocations: 110.7 kB / 0.7211 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/2.167, allocations: 1.003 MB / 0.7221 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/2.167, allocations: 29.58 kB / 0.7221 GB, free: 209.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/2.168, allocations: 313.7 kB / 0.7224 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/2.168, allocations: 120.6 kB / 0.7225 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-05/2.168, allocations: 70.64 kB / 0.7226 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.92e-05/2.168, allocations: 383.2 kB / 0.7229 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/2.168, allocations: 156.7 kB / 0.7231 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/2.168, allocations: 236.6 kB / 0.7233 GB, free: 209.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/2.168, allocations: 331.1 kB / 0.7236 GB, free: 209 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/2.168, allocations: 3.094 kB / 0.7236 GB, free: 209 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005922/2.169, allocations: 0.5291 MB / 0.7241 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/2.169, allocations: 8 kB / 0.7241 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/2.169, allocations: 0 / 0.7241 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/2.171, allocations: 230.7 kB / 0.7244 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.332e-05/2.171, allocations: 28.33 kB / 0.7244 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000514/2.171, allocations: 0.675 MB / 0.7251 GB, free: 208.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/2.171, allocations: 45.16 kB / 0.7251 GB, free: 208.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/2.172, allocations: 5.656 kB / 0.7251 GB, free: 208.3 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.000201/2.172, allocations: 253.5 kB / 0.7253 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/2.172, allocations: 63.31 kB / 0.7254 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006485/2.172, allocations: 0.7069 MB / 0.7261 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002963/2.173, allocations: 245.4 kB / 0.7263 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/2.173, allocations: 0 / 0.7263 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/2.173, allocations: 0 / 0.7263 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/2.174, allocations: 0.9769 MB / 0.7273 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/2.174, allocations: 0 / 0.7273 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/2.174, allocations: 21.92 kB / 0.7273 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008565/2.175, allocations: 181.1 kB / 0.7275 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/2.175, allocations: 7.141 kB / 0.7275 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004393/2.175, allocations: 0.7 MB / 0.7282 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/2.175, allocations: 0 / 0.7282 GB, free: 207 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/2.176, allocations: 419.5 kB / 0.7286 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/2.176, allocations: 175.2 kB / 0.7287 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.522e-05/2.176, allocations: 14.09 kB / 0.7287 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/2.176, allocations: 12.36 kB / 0.7288 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/2.176, allocations: 11.08 kB / 0.7288 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/2.176, allocations: 9.969 kB / 0.7288 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007348/2.177, allocations: 0.8124 MB / 0.7296 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/2.177, allocations: 0.9375 kB / 0.7296 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00272/2.18, allocations: 1.25 MB / 0.7308 GB, free: 206.5 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.004262/2.184, allocations: 1.799 MB / 0.7326 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006605/2.185, allocations: 363 kB / 0.7329 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/2.185, allocations: 0 / 0.7329 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002712/2.185, allocations: 108 kB / 0.733 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008223/2.186, allocations: 154.5 kB / 0.7331 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/2.187, allocations: 1.118 MB / 0.7342 GB, free: 205.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/2.187, allocations: 0.9299 MB / 0.7351 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001331/2.187, allocations: 57.47 kB / 0.7352 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/2.188, allocations: 31.56 kB / 0.7352 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/2.188, allocations: 0 / 0.7352 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.04469/2.232, allocations: 45.66 MB / 0.7798 GB, free: 168.4 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)