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.7992/0.7992, allocations: 150.9 MB / 166.4 MB, free: 14.23 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003562, allocations: 19.98 kB / 204.5 MB, free: 9.629 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1461, allocations: 31.32 MB / 235.9 MB, free: 5.812 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.555/1.701, allocations: 294.8 MB / 0.5183 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03824/1.74, allocations: 35.08 MB / 0.5525 GB, free: 10.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000275/1.74, allocations: 4 kB / 0.5525 GB, free: 10.43 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.0006071/1.741, allocations: 267.9 kB / 0.5528 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003651/1.741, allocations: 258.9 kB / 0.553 GB, free: 9.918 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.02312/1.764, allocations: 9.825 MB / 0.5626 GB, free: 92 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006827/1.765, allocations: 0.491 MB / 0.5631 GB, free: 15.6 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/1.765, allocations: 178.4 kB / 0.5633 GB, free: 15.42 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002769/1.765, allocations: 243.1 kB / 0.5635 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/1.766, allocations: 291.1 kB / 0.5638 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.11e-05/1.766, allocations: 28 kB / 0.5638 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02729/1.793, allocations: 17.82 MB / 0.5812 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002071/1.793, allocations: 175.4 kB / 0.5814 GB, free: 12.86 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/1.794, allocations: 278.2 kB / 0.5817 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01936/1.813, allocations: 8.858 MB / 0.5903 GB, free: 3.707 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/1.813, allocations: 3.938 kB / 0.5903 GB, free: 3.703 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/1.813, allocations: 4 kB / 0.5903 GB, free: 3.699 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/1.813, allocations: 0 / 0.5903 GB, free: 3.699 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.004146/1.817, allocations: 1.823 MB / 0.5921 GB, free: 1.824 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.817, allocations: 8.031 kB / 0.5921 GB, free: 1.816 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/1.817, allocations: 67.16 kB / 0.5922 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/1.818, allocations: 494.2 kB / 0.5926 GB, free: 1.223 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/1.818, allocations: 20.56 kB / 0.5927 GB, free: 1.203 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/1.818, allocations: 24 kB / 0.5927 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/1.818, allocations: 441.2 kB / 0.5931 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/1.818, allocations: 0.7969 kB / 0.5931 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/1.818, allocations: 12 kB / 0.5931 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/1.818, allocations: 16 kB / 0.5931 GB, free: 0.6875 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/1.819, allocations: 345.7 kB / 0.5935 GB, free: 356 kB / 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.0372/1.856, allocations: 18.59 MB / 0.6116 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005522/1.857, allocations: 170.6 kB / 0.6118 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/1.857, allocations: 99.3 kB / 0.6119 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1525/2.009, allocations: 77.47 MB / 0.6875 GB, free: 5.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/2.009, allocations: 34.5 kB / 0.6876 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=38): time 2.034e-06/2.009, allocations: 0 / 0.6876 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=38): time 0.001804/2.011, allocations: 0.6008 MB / 0.6881 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/2.011, allocations: 110.8 kB / 0.6882 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/2.012, allocations: 0.9963 MB / 0.6892 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/2.012, allocations: 25.7 kB / 0.6892 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/2.013, allocations: 312.1 kB / 0.6895 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.072e-05/2.013, allocations: 122.1 kB / 0.6897 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.185e-05/2.013, allocations: 69.59 kB / 0.6897 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001371/2.013, allocations: 386.7 kB / 0.6901 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/2.013, allocations: 156.4 kB / 0.6902 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/2.013, allocations: 235.1 kB / 0.6905 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/2.014, allocations: 336.8 kB / 0.6908 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/2.014, allocations: 0 / 0.6908 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006738/2.014, allocations: 0.5398 MB / 0.6913 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/2.014, allocations: 7.984 kB / 0.6913 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/2.014, allocations: 4 kB / 0.6913 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/2.016, allocations: 216.8 kB / 0.6915 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.15e-05/2.016, allocations: 19.98 kB / 0.6915 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00061/2.017, allocations: 0.6783 MB / 0.6922 GB, free: 348 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/2.017, allocations: 43.52 kB / 0.6923 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/2.017, allocations: 12 kB / 0.6923 GB, free: 292 kB / 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/2.017, allocations: 246.9 kB / 0.6925 GB, free: 36 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1646/2.182, allocations: 64.25 kB / 0.6926 GB, free: 226.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009497/2.183, allocations: 0.6983 MB / 0.6932 GB, free: 226.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003296/2.183, allocations: 250.6 kB / 0.6935 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/2.183, allocations: 3.469 kB / 0.6935 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/2.183, allocations: 3.453 kB / 0.6935 GB, free: 226.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/2.184, allocations: 0.9777 MB / 0.6944 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/2.184, allocations: 1.312 kB / 0.6944 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.483e-05/2.184, allocations: 15.95 kB / 0.6945 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008925/2.185, allocations: 184.3 kB / 0.6946 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/2.185, allocations: 6.094 kB / 0.6946 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004933/2.186, allocations: 0.6993 MB / 0.6953 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/2.186, allocations: 1.219 kB / 0.6953 GB, free: 225.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/2.186, allocations: 427 kB / 0.6957 GB, free: 225.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/2.187, allocations: 169.1 kB / 0.6959 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-05/2.187, allocations: 13.38 kB / 0.6959 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/2.187, allocations: 16.81 kB / 0.6959 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.195e-05/2.187, allocations: 15.73 kB / 0.6959 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/2.187, allocations: 4.531 kB / 0.6959 GB, free: 225.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009096/2.188, allocations: 0.8115 MB / 0.6967 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.273e-06/2.188, allocations: 0 / 0.6967 GB, free: 225.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00335/2.191, allocations: 1.253 MB / 0.698 GB, free: 225.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.004704/2.196, allocations: 1.785 MB / 0.6997 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007644/2.197, allocations: 373 kB / 0.7001 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/2.197, allocations: 2.375 kB / 0.7001 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00027/2.197, allocations: 106.8 kB / 0.7002 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008495/2.198, allocations: 152 kB / 0.7003 GB, free: 225.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/2.199, allocations: 1.123 MB / 0.7014 GB, free: 224.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/2.199, allocations: 0.9321 MB / 0.7023 GB, free: 224.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001426/2.2, allocations: 56.98 kB / 0.7024 GB, free: 224 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/2.2, allocations: 35.09 kB / 0.7024 GB, free: 224 MB / 0.5762 GB Notification: Performance of SimCode: time 9.12e-07/2.2, allocations: 0 / 0.7024 GB, free: 224 MB / 0.5762 GB Notification: Performance of Templates: time 0.04957/2.249, allocations: 45.68 MB / 0.747 GB, free: 196.4 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)