Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.4666/0.4666, allocations: 111.6 MB / 131.2 MB, free: 4.516 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 176.1 MB, free: 8.93 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.594e-05, allocations: 6.312 kB / 176.2 MB, free: 8.922 MB / 170.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend): time 0.9769/0.977, allocations: 257.2 MB / 433.3 MB, free: 228 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.313/1.29, allocations: 184.5 MB / 0.6034 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/1.29, allocations: 7.938 kB / 0.6034 GB, free: 13.88 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SourceP.mo:39:3-40:78:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/BoundaryConditions/SinkP.mo:32:3-33:80:writable] Warning: Connector C is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:42:3-43:80:writable] Warning: Connector C1 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Fluid/PressureLosses/Bend.mo:44:3-45:80:writable] Warning: Connector C2 is not balanced: The number of potential variables (9) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0002853/1.29, allocations: 211.1 kB / 0.6036 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003238/1.291, allocations: 294.3 kB / 0.6039 GB, free: 13.38 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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 master/Properties/WaterSteam/IF97_packages.mo:525:9-525: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 master/Properties/WaterSteam/IF97_packages.mo:708:9-708: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 master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51: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 master/Properties/WaterSteamSimple/prop4_Ph.mo:51:3-51: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 master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151: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 master/Properties/WaterSteamSimple/prop4_Ph_der.mo:118:3-118:151: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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/Fluid/derDensity_derP_derh.mo:56:5-56:88:writable] Warning: T 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.02141/1.312, allocations: 12.59 MB / 0.6162 GB, free: 0.7617 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005076/1.313, allocations: 0.5573 MB / 0.6167 GB, free: 204 kB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002604/1.313, allocations: 257.4 kB / 0.617 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003411/1.313, allocations: 375.1 kB / 0.6173 GB, free: 15.58 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/1.313, allocations: 323.3 kB / 0.6176 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/1.314, allocations: 40 kB / 0.6177 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0218/1.335, allocations: 19.72 MB / 0.6369 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/1.335, allocations: 227.3 kB / 0.6371 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/1.336, allocations: 199.4 kB / 0.6373 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01371/1.349, allocations: 13.15 MB / 0.6502 GB, free: 13.88 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.349, allocations: 0 / 0.6502 GB, free: 13.88 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.793e-06/1.349, allocations: 0 / 0.6502 GB, free: 13.88 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.635e-06/1.349, allocations: 0 / 0.6502 GB, free: 13.88 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.003533/1.353, allocations: 2.382 MB / 0.6525 GB, free: 11.44 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.353, allocations: 15.98 kB / 0.6525 GB, free: 11.43 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/1.353, allocations: 123.4 kB / 0.6526 GB, free: 11.3 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/1.354, allocations: 464.2 kB / 0.6531 GB, free: 10.82 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/1.354, allocations: 32.94 kB / 0.6531 GB, free: 10.79 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/1.354, allocations: 40.5 kB / 0.6531 GB, free: 10.75 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/1.354, allocations: 437 kB / 0.6536 GB, free: 10.26 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.354, allocations: 0 / 0.6536 GB, free: 10.26 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/1.354, allocations: 20 kB / 0.6536 GB, free: 10.24 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/1.354, allocations: 8 kB / 0.6536 GB, free: 10.23 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002478/1.354, allocations: 179.7 kB / 0.6538 GB, free: 10.06 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004118/1.358, allocations: 3.785 MB / 0.6574 GB, free: 6.203 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/1.359, allocations: 95.14 kB / 0.6575 GB, free: 6.098 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.585e-05/1.359, allocations: 35.67 kB / 0.6576 GB, free: 6.059 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3411/1.7, allocations: 89.06 MB / 0.7445 GB, free: 90.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/1.7, allocations: 38.14 kB / 0.7446 GB, free: 90.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.984e-06/1.7, allocations: 0 / 0.7446 GB, free: 90.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001129/1.701, allocations: 365.6 kB / 0.7449 GB, free: 90.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/1.701, allocations: 109.9 kB / 0.745 GB, free: 90.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005535/1.702, allocations: 0.7856 MB / 0.7458 GB, free: 89.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/1.702, allocations: 29.33 kB / 0.7458 GB, free: 89.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/1.702, allocations: 452.8 kB / 0.7463 GB, free: 89.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/1.702, allocations: 43.36 kB / 0.7463 GB, free: 89.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.688e-05/1.702, allocations: 87.03 kB / 0.7464 GB, free: 89.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.773e-05/1.702, allocations: 0.5615 MB / 0.7469 GB, free: 89.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/1.702, allocations: 35.97 kB / 0.747 GB, free: 89.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/1.702, allocations: 277.5 kB / 0.7472 GB, free: 88.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/1.702, allocations: 265 kB / 0.7475 GB, free: 88.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.702, allocations: 3.375 kB / 0.7475 GB, free: 88.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005989/1.703, allocations: 389.3 kB / 0.7479 GB, free: 88.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.703, allocations: 6.938 kB / 0.7479 GB, free: 88.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.703, allocations: 11.44 kB / 0.7479 GB, free: 88.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006462/1.703, allocations: 148.4 kB / 0.748 GB, free: 88.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.875e-05/1.704, allocations: 52.5 kB / 0.7481 GB, free: 88.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002864/1.704, allocations: 0.8682 MB / 0.7489 GB, free: 87.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/1.704, allocations: 33.48 kB / 0.7489 GB, free: 87.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/1.704, allocations: 15.72 kB / 0.749 GB, free: 87.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (SourceP1.C.ftype,SinkP1.fluid,Bend.fluid,SourceP1.fluid1,SourceP1.C.diff_on_2,Bend.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 9.857e-05/1.704, allocations: 181.1 kB / 0.7491 GB, free: 87.49 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/1.704, allocations: 72 kB / 0.7492 GB, free: 87.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/1.704, allocations: 228.2 kB / 0.7494 GB, free: 87.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.704, allocations: 4 kB / 0.7494 GB, free: 87.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/1.704, allocations: 1.094 kB / 0.7494 GB, free: 87.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/1.704, allocations: 3.188 kB / 0.7494 GB, free: 87.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008329/1.705, allocations: 0.7757 MB / 0.7502 GB, free: 87.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.705, allocations: 9.031 kB / 0.7502 GB, free: 87.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.236e-05/1.705, allocations: 5.531 kB / 0.7502 GB, free: 87.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004359/1.706, allocations: 131.7 kB / 0.7503 GB, free: 87.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/1.706, allocations: 1.25 kB / 0.7503 GB, free: 87.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002325/1.706, allocations: 0.8689 MB / 0.7512 GB, free: 86.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/1.706, allocations: 3.703 kB / 0.7512 GB, free: 86.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/1.707, allocations: 444.5 kB / 0.7516 GB, free: 85.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.323e-05/1.707, allocations: 104.6 kB / 0.7517 GB, free: 85.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/1.707, allocations: 8.859 kB / 0.7517 GB, free: 85.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/1.707, allocations: 7.031 kB / 0.7517 GB, free: 85.94 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/1.707, allocations: 13.52 kB / 0.7517 GB, free: 85.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/1.707, allocations: 3.938 kB / 0.7517 GB, free: 85.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002981/1.707, allocations: 0.4891 MB / 0.7522 GB, free: 85.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/1.707, allocations: 0 / 0.7522 GB, free: 85.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002329/1.709, allocations: 1.673 MB / 0.7538 GB, free: 85.79 MB / 0.6198 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 (3): * Single equations (assignments): 2 * 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.003937/1.713, allocations: 2.727 MB / 0.7565 GB, free: 85.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002851/1.714, allocations: 143.6 kB / 0.7566 GB, free: 85.44 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/1.714, allocations: 0 / 0.7566 GB, free: 85.44 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.191e-05/1.714, allocations: 63.2 kB / 0.7567 GB, free: 85.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/1.714, allocations: 91.36 kB / 0.7568 GB, free: 85.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/1.715, allocations: 0.9798 MB / 0.7577 GB, free: 84.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.082e-05/1.715, allocations: 168.6 kB / 0.7579 GB, free: 84.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.135e-05/1.715, allocations: 60.53 kB / 0.758 GB, free: 84.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/1.715, allocations: 33.47 kB / 0.758 GB, free: 84.77 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/1.715, allocations: 0 / 0.758 GB, free: 84.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.04453/1.76, allocations: 64.95 MB / 0.8214 GB, free: 24.95 MB / 0.6198 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.757045189384371]