Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.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.TestStaticExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8551/0.8551, allocations: 150.9 MB / 167.2 MB, free: 14.58 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003589, allocations: 15.84 kB / 237.8 MB, free: 1.715 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05722/0.05759, allocations: 31.35 MB / 269.1 MB, free: 7.043 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.TestStaticExchangerDTorWorEff): time 1.654/1.712, allocations: 295.9 MB / 0.5518 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5395/2.251, allocations: 188.7 MB / 0.7361 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005083/2.252, allocations: 14.59 kB / 0.7361 GB, free: 1.785 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/BoundaryConditions/SourceQ.mo:62:3-63: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/BoundaryConditions/SourceQ.mo:62:3-63: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/HeatExchangers/StaticExchangerDTorWorEff.mo:73:3-74:65:writable] Warning: Connector Ec 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/HeatExchangers/StaticExchangerDTorWorEff.mo:75:3-76:67:writable] Warning: Connector Ef 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/HeatExchangers/StaticExchangerDTorWorEff.mo:77:3-78:64:writable] Warning: Connector Sf 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/HeatExchangers/StaticExchangerDTorWorEff.mo:79:3-80:63:writable] Warning: Connector Sc 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.0002871/2.252, allocations: 81.09 kB / 0.7361 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0006798/2.253, allocations: 236.8 kB / 0.7364 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.03427/2.287, allocations: 11.67 MB / 0.7478 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001074/2.288, allocations: 0.8021 MB / 0.7486 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004297/2.289, allocations: 406 kB / 0.7489 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/2.289, allocations: 326.1 kB / 0.7493 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/2.289, allocations: 354.3 kB / 0.7496 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.537e-05/2.289, allocations: 73.67 kB / 0.7497 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03749/2.327, allocations: 20.22 MB / 0.7694 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000228/2.327, allocations: 161 kB / 0.7696 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005719/2.328, allocations: 381.2 kB / 0.7699 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02591/2.354, allocations: 10.35 MB / 0.78 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/2.354, allocations: 0 / 0.78 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.194e-06/2.354, allocations: 6.375 kB / 0.78 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.13e-05/2.354, allocations: 0.875 kB / 0.78 GB, free: 12.78 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005041/2.359, allocations: 2.125 MB / 0.7821 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/2.359, allocations: 8 kB / 0.7821 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/2.359, allocations: 83.91 kB / 0.7822 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005659/2.359, allocations: 453.8 kB / 0.7826 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/2.359, allocations: 50.97 kB / 0.7827 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/2.36, allocations: 63.19 kB / 0.7827 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009021/2.36, allocations: 0.7047 MB / 0.7834 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/2.36, allocations: 0 / 0.7834 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/2.36, allocations: 30.59 kB / 0.7835 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/2.361, allocations: 18.72 kB / 0.7835 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007389/2.361, allocations: 0.5204 MB / 0.784 GB, free: 10.77 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/2.364, allocations: 3.113 MB / 0.787 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/2.364, allocations: 243.6 kB / 0.7873 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/2.365, allocations: 104.8 kB / 0.7874 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.372/2.736, allocations: 183.8 MB / 0.9668 GB, free: 2.242 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/2.737, allocations: 30.56 kB / 0.9668 GB, free: 2.203 MB / 0.795 GB Notification: Performance of pre-optimization done (n=25): time 3.767e-06/2.737, allocations: 4 kB / 0.9668 GB, free: 2.199 MB / 0.795 GB Notification: Performance of matching and sorting (n=25): time 0.002673/2.739, allocations: 0.7375 MB / 0.9676 GB, free: 1.441 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/2.739, allocations: 59.41 kB / 0.9676 GB, free: 1.371 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006895/2.74, allocations: 499.9 kB / 0.9681 GB, free: 0.875 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/2.74, allocations: 33.7 kB / 0.9681 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000274/2.74, allocations: 354.7 kB / 0.9685 GB, free: 496 kB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/2.74, allocations: 92.88 kB / 0.9686 GB, free: 404 kB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/2.741, allocations: 102 kB / 0.9686 GB, free: 296 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001462/2.741, allocations: 358.7 kB / 0.969 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/2.741, allocations: 100.8 kB / 0.9691 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/2.741, allocations: 272.3 kB / 0.9693 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/2.742, allocations: 396.3 kB / 0.9697 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/2.742, allocations: 0 / 0.9697 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008416/2.743, allocations: 0.505 MB / 0.9702 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/2.743, allocations: 8 kB / 0.9702 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/2.743, allocations: 8.516 kB / 0.9702 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/2.744, allocations: 383 kB / 0.9706 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/2.745, allocations: 62.25 kB / 0.9707 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007826/2.746, allocations: 0.7775 MB / 0.9714 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/2.746, allocations: 58.47 kB / 0.9715 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/2.746, allocations: 25 kB / 0.9715 GB, free: 13.25 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 8 (sourceWaterSteam_FF.C.ftype,sourceWaterSteam_FC.C.ftype,sinkWaterSteam_FF.fluid,sinkWaterSteam_FC.fluid,exchangerWaterSteamDTorWorEFF.fluid_c,exchangerWaterSteamDTorWorEFF.fluid_f,sourceWaterSteam_FC.fluid1,sourceWaterSteam_FF.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * 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 {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002338/2.746, allocations: 188.2 kB / 0.9717 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/2.746, allocations: 59.33 kB / 0.9717 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/2.747, allocations: 0.497 MB / 0.9722 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/2.747, allocations: 3.984 kB / 0.9722 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/2.747, allocations: 0 / 0.9722 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/2.748, allocations: 148.4 kB / 0.9724 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/2.748, allocations: 11.88 kB / 0.9724 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/2.748, allocations: 12 kB / 0.9724 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/2.748, allocations: 20.56 kB / 0.9724 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000987/2.749, allocations: 430.7 kB / 0.9728 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005985/2.75, allocations: 0.5207 MB / 0.9733 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001404/2.75, allocations: 71.95 kB / 0.9734 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003526/2.75, allocations: 346.9 kB / 0.9737 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of Backend: time 6.62e-07/2.75, allocations: 4 kB / 0.9737 GB, free: 10.94 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01566/2.766, allocations: 3.708 MB / 0.9774 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of SimCode: time 0.002277/2.768, allocations: 1.553 MB / 0.9789 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of Templates: time 0.2993/3.067, allocations: 76.18 MB / 1.053 GB, free: 449.5 MB / 0.8419 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestStaticExchangerDTorWorEff.pipe 2>&1)