Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.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.TestRefP1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8214/0.8214, allocations: 150.9 MB / 167.2 MB, free: 14.63 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003645, allocations: 19.86 kB / 237.8 MB, free: 1.699 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05322/0.05359, allocations: 31.34 MB / 269.1 MB, free: 7.051 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.TestRefP1): time 1.642/1.696, allocations: 296.1 MB / 0.552 GB, free: 11.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5428/2.238, allocations: 193.9 MB / 0.7414 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005292/2.239, allocations: 9.906 kB / 0.7414 GB, free: 0.8789 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/RefP.mo:10:3-11: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/BoundaryConditions/RefP.mo:12:3-13:65:writable] Warning: Connector C2 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/Machines/StaticCentrifugalPump.mo:63:3-64: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/Machines/StaticCentrifugalPump.mo:65:3-66:65:writable] Warning: Connector C2 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/LumpedStraightPipe.mo:54:3-55: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/LumpedStraightPipe.mo:56:3-57:65:writable] Warning: Connector C2 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/Source.mo:53:3-54:52: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/Sink.mo:39:3-40: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/BoundaryConditions/RefQ.mo:10:3-11: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/BoundaryConditions/RefQ.mo:12:3-13:65: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.0002436/2.239, allocations: 87.42 kB / 0.7415 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0005222/2.24, allocations: 231 kB / 0.7417 GB, free: 0.8711 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.03151/2.271, allocations: 13.12 MB / 0.7545 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001144/2.272, allocations: 0.8315 MB / 0.7553 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005055/2.273, allocations: 0.4932 MB / 0.7558 GB, free: 412 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003698/2.273, allocations: 346 kB / 0.7561 GB, free: 412 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003438/2.274, allocations: 393.8 kB / 0.7565 GB, free: 412 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.379e-05/2.274, allocations: 85.53 kB / 0.7566 GB, free: 408 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03548/2.309, allocations: 18.92 MB / 0.775 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003298/2.31, allocations: 184.9 kB / 0.7752 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006239/2.31, allocations: 415.6 kB / 0.7756 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02895/2.339, allocations: 10.4 MB / 0.7858 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/2.339, allocations: 0 / 0.7858 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/2.339, allocations: 2.594 kB / 0.7858 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.123e-05/2.339, allocations: 0 / 0.7858 GB, free: 10.58 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.005712/2.345, allocations: 2.218 MB / 0.7879 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/2.345, allocations: 13.38 kB / 0.7879 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/2.345, allocations: 90.97 kB / 0.788 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005469/2.346, allocations: 436.4 kB / 0.7884 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/2.346, allocations: 61.91 kB / 0.7885 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/2.346, allocations: 74.44 kB / 0.7886 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/2.347, allocations: 0.7449 MB / 0.7893 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/2.347, allocations: 2.344 kB / 0.7893 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/2.347, allocations: 31.5 kB / 0.7893 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/2.347, allocations: 19.81 kB / 0.7894 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008984/2.348, allocations: 0.5473 MB / 0.7899 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07503/2.423, allocations: 33.36 MB / 0.8225 GB, free: 8.645 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007006/2.424, allocations: 295.8 kB / 0.8228 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/2.424, allocations: 105.3 kB / 0.8229 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7104/3.134, allocations: 251.8 MB / 1.069 GB, free: 430.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/3.134, allocations: 39.09 kB / 1.069 GB, free: 430.6 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=27): time 2.505e-06/3.134, allocations: 0 / 1.069 GB, free: 430.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27): time 0.004963/3.139, allocations: 1.102 MB / 1.07 GB, free: 429.7 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/3.139, allocations: 54.88 kB / 1.07 GB, free: 429.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/3.14, allocations: 485.7 kB / 1.07 GB, free: 429.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/3.14, allocations: 29.39 kB / 1.07 GB, free: 429.2 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/3.14, allocations: 367.7 kB / 1.071 GB, free: 429 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/3.14, allocations: 97.66 kB / 1.071 GB, free: 428.9 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/3.14, allocations: 94.77 kB / 1.071 GB, free: 428.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.199e-05/3.14, allocations: 357.7 kB / 1.071 GB, free: 428.5 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/3.141, allocations: 95.58 kB / 1.071 GB, free: 428.5 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/3.141, allocations: 216.9 kB / 1.072 GB, free: 428.2 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/3.141, allocations: 334.1 kB / 1.072 GB, free: 428 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/3.141, allocations: 4 kB / 1.072 GB, free: 428 MB / 0.8419 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002056/3.143, allocations: 0.6626 MB / 1.073 GB, free: 427.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/3.143, allocations: 6.844 kB / 1.073 GB, free: 427.4 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/3.143, allocations: 4 kB / 1.073 GB, free: 427.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009257/3.144, allocations: 202.8 kB / 1.073 GB, free: 427.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/3.145, allocations: 69.47 kB / 1.073 GB, free: 427.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007323/3.145, allocations: 1.238 MB / 1.074 GB, free: 426 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/3.146, allocations: 51.31 kB / 1.074 GB, free: 425.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/3.146, allocations: 32.7 kB / 1.074 GB, free: 425.9 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 7 (source.C.ftype,pump.fluid,lumpedStraightPipe.fluid,sink.fluid,source.fluid1,refQ.C1.diff_on_2,lumpedStraightPipe.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,4), (2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001995/3.146, allocations: 188.7 kB / 1.074 GB, free: 425.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/3.146, allocations: 51.91 kB / 1.074 GB, free: 425.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00198/3.148, allocations: 0.5833 MB / 1.075 GB, free: 425.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/3.148, allocations: 0.6094 kB / 1.075 GB, free: 425.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/3.148, allocations: 0 / 1.075 GB, free: 425.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/3.148, allocations: 156.7 kB / 1.075 GB, free: 425.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/3.148, allocations: 0 / 1.075 GB, free: 425.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/3.148, allocations: 8.438 kB / 1.075 GB, free: 425.1 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/3.148, allocations: 35.88 kB / 1.075 GB, free: 425.1 MB / 0.8419 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001155/3.15, allocations: 476.7 kB / 1.076 GB, free: 424.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006068/3.15, allocations: 0.5426 MB / 1.076 GB, free: 424.2 MB / 0.8419 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001518/3.15, allocations: 84.64 kB / 1.076 GB, free: 424.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002855/3.151, allocations: 331.8 kB / 1.076 GB, free: 423.9 MB / 0.8419 GB Notification: Performance of Backend: time 7.22e-07/3.151, allocations: 4 kB / 1.076 GB, free: 423.9 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01325/3.164, allocations: 3.857 MB / 1.08 GB, free: 421 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001646/3.166, allocations: 1.551 MB / 1.082 GB, free: 419.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.07285/3.238, allocations: 75.4 MB / 1.155 GB, free: 344.8 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestRefP1.pipe 2>&1)