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.8136/0.8136, allocations: 150.9 MB / 167.2 MB, free: 14.26 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 18.05 kB / 237.8 MB, free: 1.844 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06349/0.06387, allocations: 31.35 MB / 269.1 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.69/1.754, allocations: 294.9 MB / 0.5508 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5661/2.32, allocations: 190.5 MB / 0.7368 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004349/2.321, allocations: 6.359 kB / 0.7369 GB, free: 1.789 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.0004096/2.321, allocations: 205 kB / 0.737 GB, free: 1.789 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004622/2.322, allocations: 284.3 kB / 0.7373 GB, free: 1.789 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.03642/2.358, allocations: 12.28 MB / 0.7493 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009195/2.359, allocations: 0.538 MB / 0.7498 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003466/2.36, allocations: 272.4 kB / 0.7501 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/2.36, allocations: 256 kB / 0.7503 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003405/2.36, allocations: 354.5 kB / 0.7507 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.59e-05/2.36, allocations: 43.16 kB / 0.7507 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04374/2.404, allocations: 21.08 MB / 0.7713 GB, free: 40 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003011/2.404, allocations: 203.7 kB / 0.7715 GB, free: 4 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004806/2.405, allocations: 328.9 kB / 0.7718 GB, free: 0 / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.03162/2.436, allocations: 10.76 MB / 0.7823 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/2.436, allocations: 0 / 0.7823 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/2.436, allocations: 0.625 kB / 0.7823 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.055e-05/2.437, allocations: 0 / 0.7823 GB, free: 12.14 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.006993/2.444, allocations: 2.242 MB / 0.7845 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/2.444, allocations: 9.688 kB / 0.7845 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/2.444, allocations: 84.56 kB / 0.7846 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007242/2.444, allocations: 0.5526 MB / 0.7851 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.42e-05/2.445, allocations: 34.09 kB / 0.7852 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/2.445, allocations: 35.47 kB / 0.7852 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006438/2.445, allocations: 499.4 kB / 0.7857 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/2.445, allocations: 0.9688 kB / 0.7857 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/2.445, allocations: 13.75 kB / 0.7857 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/2.445, allocations: 11.75 kB / 0.7857 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005184/2.446, allocations: 418.8 kB / 0.7861 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009045/2.455, allocations: 6.677 MB / 0.7926 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005805/2.455, allocations: 124.4 kB / 0.7927 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.416e-05/2.456, allocations: 44.7 kB / 0.7928 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3093/2.765, allocations: 155.6 MB / 0.9448 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/2.765, allocations: 37.41 kB / 0.9448 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 2.705e-06/2.765, allocations: 8 kB / 0.9448 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.002348/2.767, allocations: 467.6 kB / 0.9453 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/2.767, allocations: 110.8 kB / 0.9454 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/2.769, allocations: 1.074 MB / 0.9464 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/2.769, allocations: 25.7 kB / 0.9465 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/2.769, allocations: 382 kB / 0.9468 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/2.77, allocations: 44.66 kB / 0.9469 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/2.77, allocations: 73.59 kB / 0.9469 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001531/2.77, allocations: 378.8 kB / 0.9473 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/2.77, allocations: 127 kB / 0.9474 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/2.77, allocations: 265 kB / 0.9477 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/2.771, allocations: 320.5 kB / 0.948 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/2.771, allocations: 3.938 kB / 0.948 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001534/2.772, allocations: 0.5587 MB / 0.9485 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/2.772, allocations: 5.25 kB / 0.9485 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/2.772, allocations: 9.438 kB / 0.9485 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/2.774, allocations: 201.3 kB / 0.9487 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/2.774, allocations: 47.06 kB / 0.9488 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006298/2.775, allocations: 0.6314 MB / 0.9494 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/2.775, allocations: 54.14 kB / 0.9494 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/2.775, allocations: 12 kB / 0.9495 GB, free: 6.016 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.0003535/2.776, allocations: 260.8 kB / 0.9497 GB, free: 5.754 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/2.776, allocations: 63.25 kB / 0.9498 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007602/2.776, allocations: 260.6 kB / 0.95 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/2.777, allocations: 0 / 0.95 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/2.777, allocations: 11.94 kB / 0.95 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/2.777, allocations: 170.5 kB / 0.9502 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.073e-05/2.777, allocations: 7.938 kB / 0.9502 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/2.777, allocations: 4 kB / 0.9502 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/2.777, allocations: 7.984 kB / 0.9502 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006278/2.778, allocations: 265.9 kB / 0.9505 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004475/2.778, allocations: 388.9 kB / 0.9508 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.158e-05/2.778, allocations: 31.92 kB / 0.9509 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009672/2.779, allocations: 0.7735 MB / 0.9516 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of Backend: time 1.022e-06/2.779, allocations: 4 kB / 0.9516 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0163/2.796, allocations: 3.961 MB / 0.9555 GB, free: 280 kB / 0.7794 GB Notification: Performance of SimCode: time 0.002548/2.798, allocations: 1.638 MB / 0.9571 GB, free: 14.59 MB / 0.795 GB Notification: Performance of Templates: time 0.3292/3.127, allocations: 78.37 MB / 1.034 GB, free: 460.8 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)