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 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.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") translateModel(ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8378/0.8378, allocations: 150.9 MB / 167.2 MB, free: 14.5 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003791, allocations: 21.16 kB / 237.7 MB, free: 1.824 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06217/0.06256, allocations: 31.34 MB / 269.1 MB, free: 7.102 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.Book.SimpleExamples.PressureLoss.TestBend): time 1.659/1.722, allocations: 295 MB / 0.5508 GB, free: 12.87 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5365/2.258, allocations: 190.5 MB / 0.7369 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004398/2.259, allocations: 9.188 kB / 0.7369 GB, free: 1.785 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.0004004/2.259, allocations: 206.1 kB / 0.7371 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0004783/2.26, allocations: 281.1 kB / 0.7373 GB, free: 1.785 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.04039/2.3, allocations: 12.52 MB / 0.7496 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009714/2.301, allocations: 0.5395 MB / 0.7501 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003892/2.302, allocations: 274.9 kB / 0.7504 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/2.302, allocations: 254.5 kB / 0.7506 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/2.302, allocations: 355.9 kB / 0.7509 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.163e-05/2.302, allocations: 40.75 kB / 0.751 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04012/2.343, allocations: 21.09 MB / 0.7716 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003276/2.343, allocations: 203.8 kB / 0.7718 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004222/2.343, allocations: 324.6 kB / 0.7721 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.03204/2.375, allocations: 10.77 MB / 0.7826 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.023e-05/2.375, allocations: 5.078 kB / 0.7826 GB, free: 12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.865e-06/2.375, allocations: 1.062 kB / 0.7826 GB, free: 12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.376e-05/2.376, allocations: 0 / 0.7826 GB, free: 12 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.007876/2.383, allocations: 2.324 MB / 0.7849 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/2.383, allocations: 7.406 kB / 0.7849 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/2.384, allocations: 94.31 kB / 0.785 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007905/2.384, allocations: 0.5556 MB / 0.7855 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/2.384, allocations: 35.38 kB / 0.7855 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/2.385, allocations: 37.78 kB / 0.7856 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006355/2.385, allocations: 489.3 kB / 0.786 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/2.385, allocations: 4.828 kB / 0.786 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/2.385, allocations: 16.06 kB / 0.7861 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/2.385, allocations: 11.88 kB / 0.7861 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005554/2.386, allocations: 412.8 kB / 0.7865 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/2.396, allocations: 6.692 MB / 0.793 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006282/2.397, allocations: 122.1 kB / 0.7931 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/2.397, allocations: 45.44 kB / 0.7932 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3152/2.712, allocations: 155.7 MB / 0.9452 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/2.712, allocations: 36.58 kB / 0.9452 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 2.775e-06/2.712, allocations: 0 / 0.9452 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.002414/2.714, allocations: 480.8 kB / 0.9457 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/2.714, allocations: 110 kB / 0.9458 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/2.716, allocations: 1.067 MB / 0.9468 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/2.716, allocations: 29.7 kB / 0.9468 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/2.716, allocations: 391.5 kB / 0.9472 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/2.716, allocations: 43.69 kB / 0.9473 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/2.717, allocations: 77.59 kB / 0.9473 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001729/2.717, allocations: 378.8 kB / 0.9477 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/2.717, allocations: 127.9 kB / 0.9478 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002998/2.717, allocations: 265.3 kB / 0.9481 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004198/2.718, allocations: 314 kB / 0.9484 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/2.718, allocations: 13.12 kB / 0.9484 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00152/2.719, allocations: 0.5625 MB / 0.9489 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/2.719, allocations: 7.984 kB / 0.9489 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/2.719, allocations: 7.938 kB / 0.9489 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/2.721, allocations: 201 kB / 0.9491 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/2.721, allocations: 47.08 kB / 0.9492 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006021/2.722, allocations: 0.6252 MB / 0.9498 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003663/2.722, allocations: 51.72 kB / 0.9498 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/2.722, allocations: 21.78 kB / 0.9499 GB, free: 5.453 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.0003216/2.722, allocations: 265.2 kB / 0.9501 GB, free: 5.191 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/2.723, allocations: 63.58 kB / 0.9502 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007296/2.723, allocations: 262.4 kB / 0.9504 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/2.723, allocations: 4.688 kB / 0.9504 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/2.723, allocations: 3.938 kB / 0.9504 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/2.724, allocations: 173.8 kB / 0.9506 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.602e-05/2.724, allocations: 3.938 kB / 0.9506 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/2.724, allocations: 15.98 kB / 0.9506 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/2.724, allocations: 4 kB / 0.9506 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006277/2.725, allocations: 261.7 kB / 0.9509 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004279/2.725, allocations: 394.3 kB / 0.9512 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.442e-05/2.725, allocations: 44.19 kB / 0.9513 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000915/2.726, allocations: 0.7684 MB / 0.952 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of Backend: time 5.91e-07/2.726, allocations: 0 / 0.952 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01534/2.741, allocations: 3.992 MB / 0.9559 GB, free: 15.65 MB / 0.795 GB Notification: Performance of SimCode: time 0.002454/2.744, allocations: 1.663 MB / 0.9576 GB, free: 13.95 MB / 0.795 GB Notification: Performance of Templates: time 0.3092/3.053, allocations: 78.37 MB / 1.034 GB, free: 459.9 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.makefile (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=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.Book.SimpleExamples.PressureLoss.TestBend.pipe 2>&1)