Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.9357/0.9357, allocations: 150.9 MB / 166.5 MB, free: 14.41 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003549/0.000355, allocations: 16.7 kB / 237.1 MB, free: 1.785 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07395/0.07432, allocations: 31.36 MB / 268.4 MB, free: 7.031 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.Fluid.Examples.SimpleExamples.TestBend): time 1.845/1.919, allocations: 294.9 MB / 0.5501 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.6677/2.587, allocations: 190.5 MB / 0.7362 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005481/2.588, allocations: 8.094 kB / 0.7362 GB, free: 1.75 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceP.mo:58:3-59:65: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 4.0.0-master/Fluid/BoundaryConditions/SinkP.mo:46:3-47:67: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 4.0.0-master/Fluid/PressureLosses/Bend.mo:57:3-58:67: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 4.0.0-master/Fluid/PressureLosses/Bend.mo:59:3-60:67: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.0005/2.588, allocations: 199.7 kB / 0.7364 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0006375/2.589, allocations: 279.7 kB / 0.7366 GB, free: 1.75 MB / 0.5919 GB [/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Properties/Fluid/derDensity_derP_derh.mo:63:5-63:84: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.04711/2.636, allocations: 12.28 MB / 0.7486 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00112/2.637, allocations: 0.5371 MB / 0.7492 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003985/2.638, allocations: 275.9 kB / 0.7494 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/2.638, allocations: 254.4 kB / 0.7497 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004178/2.638, allocations: 356.9 kB / 0.75 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.886e-05/2.639, allocations: 42.09 kB / 0.75 GB, free: 1.469 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05094/2.689, allocations: 21.09 MB / 0.7706 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000425/2.69, allocations: 205.7 kB / 0.7708 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000546/2.691, allocations: 326.1 kB / 0.7711 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.04117/2.732, allocations: 10.74 MB / 0.7816 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/2.732, allocations: 0 / 0.7816 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/2.732, allocations: 0.9688 kB / 0.7816 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.128e-05/2.732, allocations: 0 / 0.7816 GB, free: 12.04 MB / 0.6075 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.008589/2.74, allocations: 2.242 MB / 0.7838 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/2.74, allocations: 10.16 kB / 0.7838 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/2.741, allocations: 84.5 kB / 0.7839 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/2.742, allocations: 0.5458 MB / 0.7844 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.894e-05/2.742, allocations: 35.84 kB / 0.7845 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/2.742, allocations: 37.28 kB / 0.7845 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009212/2.743, allocations: 497.4 kB / 0.785 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/2.743, allocations: 1 kB / 0.785 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/2.743, allocations: 15.62 kB / 0.785 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/2.743, allocations: 8.531 kB / 0.785 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006537/2.744, allocations: 419.7 kB / 0.7854 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/2.756, allocations: 6.678 MB / 0.7919 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007125/2.757, allocations: 121.2 kB / 0.7921 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/2.757, allocations: 47.91 kB / 0.7921 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.349/3.106, allocations: 155.6 MB / 0.9441 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/3.106, allocations: 34.56 kB / 0.9441 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 3.065e-06/3.106, allocations: 0 / 0.9441 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.002428/3.108, allocations: 474.3 kB / 0.9446 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/3.108, allocations: 107.9 kB / 0.9447 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/3.11, allocations: 1.067 MB / 0.9457 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/3.11, allocations: 29.7 kB / 0.9458 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000355/3.111, allocations: 383.2 kB / 0.9461 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-05/3.111, allocations: 45.64 kB / 0.9462 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/3.111, allocations: 69.59 kB / 0.9462 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001738/3.111, allocations: 382 kB / 0.9466 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/3.111, allocations: 128 kB / 0.9467 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002823/3.112, allocations: 262.2 kB / 0.947 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/3.112, allocations: 328.7 kB / 0.9473 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/3.112, allocations: 0 / 0.9473 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001515/3.113, allocations: 0.5586 MB / 0.9478 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/3.114, allocations: 11.94 kB / 0.9478 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/3.114, allocations: 5.328 kB / 0.9478 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001589/3.115, allocations: 195.1 kB / 0.948 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/3.115, allocations: 52.36 kB / 0.9481 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006346/3.116, allocations: 0.6306 MB / 0.9487 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/3.116, allocations: 47.52 kB / 0.9487 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/3.116, allocations: 18.62 kB / 0.9488 GB, free: 5.891 MB / 0.7794 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 0.0003747/3.117, allocations: 268.8 kB / 0.949 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/3.117, allocations: 59.25 kB / 0.9491 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007226/3.118, allocations: 260 kB / 0.9493 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/3.118, allocations: 0 / 0.9493 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/3.118, allocations: 0 / 0.9493 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/3.118, allocations: 0 / 0.9493 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/3.12, allocations: 0.8471 MB / 0.9501 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/3.12, allocations: 0 / 0.9501 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.347e-05/3.12, allocations: 4 kB / 0.9502 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/3.121, allocations: 172.2 kB / 0.9503 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/3.121, allocations: 0 / 0.9503 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000589/3.121, allocations: 0.6344 MB / 0.9509 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/3.121, allocations: 0 / 0.9509 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/3.123, allocations: 408.1 kB / 0.9513 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/3.123, allocations: 183.3 kB / 0.9515 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.752e-05/3.123, allocations: 0.875 kB / 0.9515 GB, free: 2.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/3.123, allocations: 7.984 kB / 0.9515 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/3.123, allocations: 11.98 kB / 0.9515 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/3.123, allocations: 4 kB / 0.9515 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001014/3.124, allocations: 0.7802 MB / 0.9523 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/3.124, allocations: 0 / 0.9523 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006139/3.13, allocations: 1.643 MB / 0.9539 GB, free: 0.5352 MB / 0.7794 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.01092/3.141, allocations: 2.493 MB / 0.9563 GB, free: 14.35 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008759/3.142, allocations: 242.4 kB / 0.9566 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/3.142, allocations: 320 / 0.9566 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002101/3.143, allocations: 59.02 kB / 0.9566 GB, free: 14.07 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/3.143, allocations: 99.83 kB / 0.9567 GB, free: 13.98 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/3.146, allocations: 1.063 MB / 0.9577 GB, free: 12.89 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/3.146, allocations: 0.9245 MB / 0.9586 GB, free: 11.95 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002672/3.147, allocations: 74.69 kB / 0.9587 GB, free: 11.88 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.648e-05/3.147, allocations: 35.44 kB / 0.9588 GB, free: 11.84 MB / 0.795 GB Notification: Performance of SimCode: time 7.42e-07/3.147, allocations: 0 / 0.9588 GB, free: 11.84 MB / 0.795 GB Notification: Performance of Templates: time 0.07515/3.222, allocations: 51.52 MB / 1.009 GB, free: 8.379 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestBend.pipe 2>&1)