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.876/0.876, allocations: 150.9 MB / 166.5 MB, free: 14.38 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004643, allocations: 23.38 kB / 237.1 MB, free: 1.809 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07163/0.07211, allocations: 31.35 MB / 268.4 MB, free: 7.039 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.646/1.718, allocations: 294.8 MB / 0.5501 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.04032/1.758, allocations: 35.09 MB / 0.5843 GB, free: 9.703 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/1.758, allocations: 4 kB / 0.5844 GB, free: 9.699 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.0005813/1.759, allocations: 271 kB / 0.5846 GB, free: 9.434 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004249/1.759, allocations: 258.8 kB / 0.5849 GB, free: 9.18 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.0234/1.783, allocations: 9.827 MB / 0.5945 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006468/1.783, allocations: 0.491 MB / 0.5949 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002917/1.784, allocations: 184.5 kB / 0.5951 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003576/1.784, allocations: 231.1 kB / 0.5953 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/1.784, allocations: 303.1 kB / 0.5956 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.619e-05/1.785, allocations: 24 kB / 0.5956 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02914/1.814, allocations: 18.04 MB / 0.6133 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002156/1.814, allocations: 175.4 kB / 0.6134 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002776/1.814, allocations: 278.2 kB / 0.6137 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01732/1.832, allocations: 8.858 MB / 0.6223 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/1.832, allocations: 0 / 0.6223 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.495e-06/1.832, allocations: 0 / 0.6223 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.387e-06/1.832, allocations: 0 / 0.6223 GB, free: 2.727 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.004218/1.836, allocations: 1.815 MB / 0.6241 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/1.836, allocations: 8.031 kB / 0.6241 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/1.836, allocations: 71.06 kB / 0.6242 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/1.837, allocations: 494.3 kB / 0.6247 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/1.837, allocations: 20.56 kB / 0.6247 GB, free: 240 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/1.837, allocations: 24 kB / 0.6247 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005664/1.837, allocations: 433.2 kB / 0.6251 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/1.837, allocations: 7.875 kB / 0.6251 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.879e-05/1.837, allocations: 12 kB / 0.6251 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/1.837, allocations: 19.92 kB / 0.6252 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/1.838, allocations: 333.8 kB / 0.6255 GB, free: 15.39 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.03711/1.875, allocations: 18.7 MB / 0.6437 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/1.875, allocations: 170.6 kB / 0.6439 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/1.876, allocations: 100.8 kB / 0.644 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3248/2.2, allocations: 77.92 MB / 0.7201 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/2.2, allocations: 30.56 kB / 0.7201 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=38): time 2.184e-06/2.2, allocations: 4 kB / 0.7201 GB, free: 209.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.001741/2.202, allocations: 0.5837 MB / 0.7207 GB, free: 209.7 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/2.202, allocations: 107.8 kB / 0.7208 GB, free: 209.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/2.203, allocations: 1.004 MB / 0.7218 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.59e-05/2.203, allocations: 34.08 kB / 0.7218 GB, free: 209.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/2.204, allocations: 305.9 kB / 0.7221 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/2.204, allocations: 120.5 kB / 0.7222 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/2.204, allocations: 64.72 kB / 0.7223 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.063e-05/2.204, allocations: 389.7 kB / 0.7227 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/2.204, allocations: 157.5 kB / 0.7228 GB, free: 208.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/2.204, allocations: 232.2 kB / 0.723 GB, free: 208.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/2.204, allocations: 340.7 kB / 0.7234 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/2.204, allocations: 0.875 kB / 0.7234 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006155/2.205, allocations: 0.5278 MB / 0.7239 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/2.205, allocations: 5.562 kB / 0.7239 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/2.205, allocations: 7.125 kB / 0.7239 GB, free: 208.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/2.207, allocations: 222.4 kB / 0.7241 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/2.207, allocations: 24.39 kB / 0.7241 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005059/2.207, allocations: 0.675 MB / 0.7248 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/2.208, allocations: 44.34 kB / 0.7248 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/2.208, allocations: 17.62 kB / 0.7248 GB, free: 208.1 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.0002065/2.208, allocations: 251.8 kB / 0.7251 GB, free: 208 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/2.208, allocations: 61.16 kB / 0.7251 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006784/2.209, allocations: 0.7011 MB / 0.7258 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002877/2.209, allocations: 242.1 kB / 0.726 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/2.209, allocations: 0.8125 kB / 0.726 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/2.209, allocations: 10.42 kB / 0.7261 GB, free: 207.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/2.21, allocations: 0.9738 MB / 0.727 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/2.21, allocations: 0 / 0.727 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/2.21, allocations: 16.72 kB / 0.727 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008918/2.211, allocations: 182.2 kB / 0.7272 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/2.211, allocations: 8.156 kB / 0.7272 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004616/2.211, allocations: 0.7004 MB / 0.7279 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/2.211, allocations: 0.5625 kB / 0.7279 GB, free: 206.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/2.212, allocations: 417.9 kB / 0.7283 GB, free: 206.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/2.212, allocations: 173.7 kB / 0.7285 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.049e-05/2.212, allocations: 14 kB / 0.7285 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/2.212, allocations: 9.359 kB / 0.7285 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/2.212, allocations: 19.5 kB / 0.7285 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/2.212, allocations: 7.578 kB / 0.7285 GB, free: 206.4 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007678/2.213, allocations: 0.808 MB / 0.7293 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.51e-07/2.213, allocations: 0 / 0.7293 GB, free: 206.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002908/2.216, allocations: 1.249 MB / 0.7305 GB, free: 206.3 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.004529/2.221, allocations: 1.8 MB / 0.7323 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007646/2.221, allocations: 357.5 kB / 0.7326 GB, free: 206 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/2.221, allocations: 0 / 0.7326 GB, free: 206 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002645/2.222, allocations: 118 kB / 0.7327 GB, free: 206 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000859/2.223, allocations: 150.3 kB / 0.7329 GB, free: 206 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/2.224, allocations: 1.106 MB / 0.7339 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/2.224, allocations: 0.9388 MB / 0.7349 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001404/2.224, allocations: 61.59 kB / 0.7349 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/2.225, allocations: 33.34 kB / 0.735 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/2.225, allocations: 0 / 0.735 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.04605/2.271, allocations: 45.65 MB / 0.7795 GB, free: 168.2 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)