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.7346/0.7346, allocations: 150.9 MB / 167.2 MB, free: 14.53 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002913/0.0002914, allocations: 18.2 kB / 237.8 MB, free: 1.766 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04614/0.04644, allocations: 31.35 MB / 269.1 MB, free: 7.055 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.385/1.431, allocations: 294.7 MB / 0.5506 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03418/1.465, allocations: 35.09 MB / 0.5849 GB, free: 9.746 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/1.466, allocations: 4 kB / 0.5849 GB, free: 9.742 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.0004816/1.466, allocations: 267.6 kB / 0.5852 GB, free: 9.48 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/1.466, allocations: 258.8 kB / 0.5854 GB, free: 9.227 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.01981/1.486, allocations: 9.831 MB / 0.595 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005443/1.487, allocations: 498.7 kB / 0.5955 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/1.487, allocations: 180.5 kB / 0.5957 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002844/1.487, allocations: 231.1 kB / 0.5959 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/1.488, allocations: 307 kB / 0.5962 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/1.488, allocations: 24 kB / 0.5962 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02591/1.514, allocations: 18.04 MB / 0.6138 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001656/1.514, allocations: 179.4 kB / 0.614 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000245/1.514, allocations: 274.2 kB / 0.6142 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01312/1.527, allocations: 8.862 MB / 0.6229 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/1.527, allocations: 0 / 0.6229 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/1.527, allocations: 0 / 0.6229 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.527, allocations: 0 / 0.6229 GB, free: 2.777 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.003672/1.531, allocations: 1.815 MB / 0.6247 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/1.531, allocations: 8.031 kB / 0.6247 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.929e-05/1.531, allocations: 71.06 kB / 0.6247 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/1.531, allocations: 0.4982 MB / 0.6252 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/1.532, allocations: 20.56 kB / 0.6252 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/1.532, allocations: 24 kB / 0.6253 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/1.532, allocations: 441.2 kB / 0.6257 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/1.532, allocations: 0 / 0.6257 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/1.532, allocations: 12 kB / 0.6257 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/1.532, allocations: 8 kB / 0.6257 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/1.533, allocations: 345.6 kB / 0.626 GB, free: 15.43 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.03378/1.566, allocations: 18.7 MB / 0.6443 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/1.567, allocations: 178.6 kB / 0.6445 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/1.567, allocations: 100.8 kB / 0.6446 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2854/1.852, allocations: 77.91 MB / 0.7207 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/1.852, allocations: 33.28 kB / 0.7207 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=38): time 1.724e-06/1.852, allocations: 4 kB / 0.7207 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.001457/1.854, allocations: 0.587 MB / 0.7213 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/1.854, allocations: 105.6 kB / 0.7214 GB, free: 209.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008547/1.855, allocations: 1.003 MB / 0.7223 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/1.855, allocations: 33.27 kB / 0.7224 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/1.855, allocations: 308.1 kB / 0.7227 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/1.855, allocations: 120.7 kB / 0.7228 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.992e-05/1.855, allocations: 64.03 kB / 0.7228 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.091e-05/1.855, allocations: 387.4 kB / 0.7232 GB, free: 209 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/1.855, allocations: 157.2 kB / 0.7234 GB, free: 209 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/1.856, allocations: 236.6 kB / 0.7236 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/1.856, allocations: 344.6 kB / 0.7239 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.856, allocations: 0 / 0.7239 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005046/1.856, allocations: 0.5254 MB / 0.7244 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.856, allocations: 8.75 kB / 0.7244 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.856, allocations: 4 kB / 0.7244 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/1.858, allocations: 222.3 kB / 0.7247 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.941e-05/1.858, allocations: 30.2 kB / 0.7247 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004366/1.858, allocations: 0.6678 MB / 0.7253 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/1.858, allocations: 40.89 kB / 0.7254 GB, free: 208.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/1.858, allocations: 12.72 kB / 0.7254 GB, free: 208.2 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.0001711/1.859, allocations: 253.8 kB / 0.7256 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/1.859, allocations: 61.47 kB / 0.7257 GB, free: 208 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005907/1.859, allocations: 0.7013 MB / 0.7264 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002638/1.86, allocations: 248.5 kB / 0.7266 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.86, allocations: 5.281 kB / 0.7266 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/1.86, allocations: 4 kB / 0.7266 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008725/1.86, allocations: 0.9702 MB / 0.7276 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.86, allocations: 3.594 kB / 0.7276 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/1.861, allocations: 16.5 kB / 0.7276 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007251/1.861, allocations: 184.2 kB / 0.7278 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/1.861, allocations: 2.781 kB / 0.7278 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003921/1.862, allocations: 0.7079 MB / 0.7285 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.862, allocations: 0 / 0.7285 GB, free: 206.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/1.862, allocations: 417.8 kB / 0.7289 GB, free: 206.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/1.862, allocations: 171.8 kB / 0.729 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/1.862, allocations: 13.94 kB / 0.729 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001749/1.862, allocations: 12 kB / 0.729 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/1.862, allocations: 14.31 kB / 0.7291 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/1.862, allocations: 8.75 kB / 0.7291 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006328/1.863, allocations: 0.8138 MB / 0.7299 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.863, allocations: 0 / 0.7299 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002253/1.865, allocations: 1.25 MB / 0.7311 GB, free: 206.4 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.003526/1.869, allocations: 1.799 MB / 0.7328 GB, free: 206.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005325/1.869, allocations: 352.7 kB / 0.7332 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.869, allocations: 0.8438 kB / 0.7332 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002323/1.87, allocations: 114.5 kB / 0.7333 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006915/1.87, allocations: 150.5 kB / 0.7334 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/1.872, allocations: 1.169 MB / 0.7346 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/1.872, allocations: 0.9355 MB / 0.7355 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/1.872, allocations: 37.09 kB / 0.7355 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/1.872, allocations: 6.188 kB / 0.7355 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.02516/1.897, allocations: 29.82 MB / 0.7646 GB, free: 184 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)