Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.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.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7555/0.7555, allocations: 150.9 MB / 167.2 MB, free: 14.51 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003152, allocations: 21.84 kB / 237.8 MB, free: 1.777 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04755/0.04788, allocations: 31.34 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.TestSimpleStaticCondenser): time 1.485/1.533, allocations: 296.7 MB / 0.5525 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4556/1.989, allocations: 190 MB / 0.7381 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005339/1.989, allocations: 15.53 kB / 0.7381 GB, free: 15.52 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/Fluid/HeatExchangers/SimpleStaticCondenser.mo:65:3-66:55: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/SimpleStaticCondenser.mo:67:3-68:54: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/SimpleStaticCondenser.mo:69:3-70:51: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/SimpleStaticCondenser.mo:71:3-72:53:writable] Warning: Connector Sc 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/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). Notification: Performance of NFTyping.typeComponents: time 0.0006179/1.99, allocations: 208.6 kB / 0.7383 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008344/1.991, allocations: 331.4 kB / 0.7386 GB, free: 15.51 MB / 0.6075 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. Notification: Performance of NFTyping.typeClassSections: time 0.02864/2.019, allocations: 11.78 MB / 0.7501 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001206/2.021, allocations: 1.023 MB / 0.7511 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005892/2.021, allocations: 431.8 kB / 0.7515 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006576/2.022, allocations: 417.8 kB / 0.7519 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005695/2.022, allocations: 383.5 kB / 0.7523 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/2.022, allocations: 65 kB / 0.7523 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03325/2.056, allocations: 20.1 MB / 0.772 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/2.056, allocations: 167.1 kB / 0.7721 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006433/2.057, allocations: 448.2 kB / 0.7726 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02023/2.077, allocations: 10.35 MB / 0.7827 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/2.077, allocations: 2.688 kB / 0.7827 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.234e-06/2.077, allocations: 0 / 0.7827 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.829e-05/2.077, allocations: 0 / 0.7827 GB, free: 8.164 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.005589/2.083, allocations: 2.18 MB / 0.7848 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/2.083, allocations: 9.938 kB / 0.7848 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/2.083, allocations: 102.9 kB / 0.7849 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006577/2.084, allocations: 465 kB / 0.7853 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/2.084, allocations: 49.94 kB / 0.7854 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.549e-05/2.084, allocations: 73.22 kB / 0.7855 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/2.085, allocations: 0.825 MB / 0.7863 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/2.085, allocations: 4.812 kB / 0.7863 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/2.085, allocations: 31.06 kB / 0.7863 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/2.085, allocations: 32.41 kB / 0.7863 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007481/2.086, allocations: 0.525 MB / 0.7868 GB, free: 6.098 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.01507/2.101, allocations: 12.38 MB / 0.7989 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/2.101, allocations: 272.1 kB / 0.7992 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/2.101, allocations: 203.9 kB / 0.7994 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09085/2.192, allocations: 54.19 MB / 0.8523 GB, free: 1.082 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/2.192, allocations: 36.36 kB / 0.8523 GB, free: 1.039 MB / 0.67 GB Notification: Performance of pre-optimization done (n=86): time 2.184e-06/2.192, allocations: 0 / 0.8523 GB, free: 1.039 MB / 0.67 GB Notification: Performance of matching and sorting (n=86): time 0.001945/2.194, allocations: 0.9539 MB / 0.8533 GB, free: 40 kB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/2.194, allocations: 51.41 kB / 0.8533 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005506/2.195, allocations: 494.5 kB / 0.8538 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/2.195, allocations: 29.7 kB / 0.8538 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/2.195, allocations: 373.5 kB / 0.8542 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/2.195, allocations: 287.1 kB / 0.8545 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/2.196, allocations: 134 kB / 0.8546 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001507/2.196, allocations: 370.8 kB / 0.8549 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/2.196, allocations: 169.4 kB / 0.8551 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/2.196, allocations: 352.5 kB / 0.8554 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007926/2.197, allocations: 0.5902 MB / 0.856 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/2.197, allocations: 4 kB / 0.856 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001101/2.198, allocations: 0.7501 MB / 0.8568 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/2.198, allocations: 8.781 kB / 0.8568 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/2.198, allocations: 5.094 kB / 0.8568 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/2.2, allocations: 334.1 kB / 0.8571 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/2.2, allocations: 67.56 kB / 0.8571 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/2.201, allocations: 1.299 MB / 0.8584 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/2.202, allocations: 86.88 kB / 0.8585 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/2.202, allocations: 27.98 kB / 0.8585 GB, free: 10.48 MB / 0.6856 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 (sourceP1.C.ftype,sourceP.C.ftype,simpleStaticCondenser.fluid_c,simpleStaticCondenser.fluid_f,sinkP.fluid,sinkP1.fluid,sourceP1.fluid1,sourceP.fluid1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(2,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0003125/2.202, allocations: 203 kB / 0.8587 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.083e-05/2.202, allocations: 63.09 kB / 0.8588 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/2.204, allocations: 1.832 MB / 0.8606 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001013/2.205, allocations: 0.8066 MB / 0.8614 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/2.205, allocations: 1.094 kB / 0.8614 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/2.205, allocations: 7.922 kB / 0.8614 GB, free: 7.512 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002788/2.208, allocations: 2.16 MB / 0.8635 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/2.208, allocations: 0 / 0.8635 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/2.208, allocations: 89.03 kB / 0.8636 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007157/2.209, allocations: 255.2 kB / 0.8638 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/2.209, allocations: 12 kB / 0.8638 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009112/2.21, allocations: 1.339 MB / 0.8651 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/2.21, allocations: 6.469 kB / 0.8651 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/2.211, allocations: 0.9868 MB / 0.8661 GB, free: 2.598 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/2.211, allocations: 212.9 kB / 0.8663 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.93e-05/2.211, allocations: 15.98 kB / 0.8663 GB, free: 2.355 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/2.211, allocations: 16 kB / 0.8663 GB, free: 2.34 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/2.212, allocations: 40.59 kB / 0.8664 GB, free: 2.301 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/2.212, allocations: 20 kB / 0.8664 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003982/2.212, allocations: 394.8 kB / 0.8668 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/2.212, allocations: 0 / 0.8668 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003679/2.216, allocations: 1.506 MB / 0.8682 GB, free: 396 kB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (67): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004935/2.221, allocations: 2.126 MB / 0.8703 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001249/2.222, allocations: 0.9556 MB / 0.8712 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/2.222, allocations: 4.062 kB / 0.8712 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004814/2.222, allocations: 397.2 kB / 0.8716 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/2.224, allocations: 424.4 kB / 0.872 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002173/2.226, allocations: 1.663 MB / 0.8737 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/2.227, allocations: 1.046 MB / 0.8747 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.288e-05/2.227, allocations: 63.44 kB / 0.8747 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of SimCode: time 2.1e-07/2.227, allocations: 1.203 kB / 0.8747 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of Templates: time 0.04932/2.276, allocations: 41.99 MB / 0.9157 GB, free: 4 kB / 0.7325 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.makefile (rm -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe >> ../files/ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.sim & ./ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestSimpleStaticCondenser.pipe 2>&1)