Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo): time 0.5524/0.5524, allocations: 120.4 MB / 140.2 MB, free: 13 MB / 138.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0 / 218 MB, free: 8.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.646e-05, allocations: 6.594 kB / 218 MB, free: 8.605 MB / 202.7 MB Notification: Automatically loaded package Complex 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.1.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.1.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger): time 0.9631/0.9631, allocations: 255.6 MB / 473.6 MB, free: 7.512 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01817/0.9813, allocations: 20.66 MB / 494.3 MB, free: 2.777 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.9815, allocations: 4 kB / 494.3 MB, free: 2.773 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:81:3-83:42:writable] Warning: Connector Ec is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:84:3-86:38:writable] Warning: Connector Ef is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:87:3-89:37:writable] Warning: Connector Sf is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:90:3-92:37:writable] Warning: Connector Sc is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003439/0.9819, allocations: 174.8 kB / 494.4 MB, free: 2.602 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.9822, allocations: 341.7 kB / 494.8 MB, free: 2.266 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 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 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 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. Notification: Performance of NFTyping.typeClassSections: time 0.2183/1.201, allocations: 7.265 MB / 0.4903 GB, free: 2.004 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001098/1.202, allocations: 1.017 MB / 0.4913 GB, free: 1.73 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003438/1.202, allocations: 232.9 kB / 0.4915 GB, free: 1.715 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000699/1.203, allocations: 0.5723 MB / 0.4921 GB, free: 1.664 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004467/1.203, allocations: 244 kB / 0.4923 GB, free: 1.637 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/1.203, allocations: 50.59 kB / 0.4923 GB, free: 1.637 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02536/1.229, allocations: 14.47 MB / 0.5065 GB, free: 12.05 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002189/1.229, allocations: 131.6 kB / 0.5066 GB, free: 11.95 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000452/1.229, allocations: 241.1 kB / 0.5068 GB, free: 11.85 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01628/1.246, allocations: 9.012 MB / 0.5156 GB, free: 3.938 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.246, allocations: 0 / 0.5156 GB, free: 3.938 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.246, allocations: 1.844 kB / 0.5156 GB, free: 3.938 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.552e-05/1.246, allocations: 0 / 0.5156 GB, free: 3.938 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.003626/1.249, allocations: 1.508 MB / 0.5171 GB, free: 2.402 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/1.249, allocations: 8.031 kB / 0.5171 GB, free: 2.395 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/1.249, allocations: 77.44 kB / 0.5172 GB, free: 2.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/1.25, allocations: 280.5 kB / 0.5174 GB, free: 2.043 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/1.25, allocations: 204.9 kB / 0.5176 GB, free: 1.809 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/1.25, allocations: 44 kB / 0.5177 GB, free: 1.766 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007949/1.251, allocations: 0.7973 MB / 0.5185 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/1.251, allocations: 9.281 kB / 0.5185 GB, free: 0.9258 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/1.251, allocations: 17.64 kB / 0.5185 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/1.251, allocations: 43.95 kB / 0.5185 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006697/1.251, allocations: 0.5839 MB / 0.5191 GB, free: 304 kB / 458.7 MB 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.03497/1.286, allocations: 21.78 MB / 0.5404 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008264/1.287, allocations: 472.7 kB / 0.5408 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/1.288, allocations: 278.7 kB / 0.5411 GB, free: 9.969 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03523/1.323, allocations: 21.17 MB / 0.5618 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/1.323, allocations: 38.42 kB / 0.5618 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=126): time 2.134e-06/1.323, allocations: 4 kB / 0.5618 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of matching and sorting (n=126): time 0.008486/1.331, allocations: 3.168 MB / 0.5649 GB, free: 1.582 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/1.331, allocations: 63.28 kB / 0.565 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/1.332, allocations: 249.8 kB / 0.5652 GB, free: 1.266 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/1.332, allocations: 37.7 kB / 0.5652 GB, free: 1.223 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/1.332, allocations: 242.6 kB / 0.5655 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000192/1.332, allocations: 425.5 kB / 0.5659 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/1.332, allocations: 130.1 kB / 0.566 GB, free: 448 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.332, allocations: 362.8 kB / 0.5663 GB, free: 76 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/1.333, allocations: 277.7 kB / 0.5666 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/1.333, allocations: 402 kB / 0.567 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007752/1.334, allocations: 0.7263 MB / 0.5677 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/1.334, allocations: 3.938 kB / 0.5677 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002136/1.336, allocations: 1.23 MB / 0.5689 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.336, allocations: 4 kB / 0.5689 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.336, allocations: 8.75 kB / 0.5689 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/1.338, allocations: 1.381 MB / 0.5703 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/1.338, allocations: 23.55 kB / 0.5703 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/1.339, allocations: 1.386 MB / 0.5716 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/1.34, allocations: 79.34 kB / 0.5717 GB, free: 10.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/1.34, allocations: 24.55 kB / 0.5717 GB, free: 10.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0001748/1.34, allocations: 180.9 kB / 0.5719 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/1.34, allocations: 47.62 kB / 0.572 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002817/1.343, allocations: 3.875 MB / 0.5757 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001626/1.344, allocations: 1.258 MB / 0.577 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.344, allocations: 0 / 0.577 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.344, allocations: 7.969 kB / 0.577 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/1.348, allocations: 2.603 MB / 0.5795 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/1.348, allocations: 3.938 kB / 0.5795 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/1.348, allocations: 96.94 kB / 0.5796 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/1.349, allocations: 0.8621 MB / 0.5805 GB, free: 1.445 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/1.349, allocations: 23.98 kB / 0.5805 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/1.351, allocations: 1.504 MB / 0.5819 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.351, allocations: 0 / 0.5819 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/1.353, allocations: 1.463 MB / 0.5834 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.658e-05/1.353, allocations: 83.25 kB / 0.5835 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/1.353, allocations: 27.84 kB / 0.5835 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/1.353, allocations: 27.98 kB / 0.5835 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.813e-05/1.354, allocations: 56.88 kB / 0.5836 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/1.354, allocations: 25.19 kB / 0.5836 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002392/1.354, allocations: 327.1 kB / 0.5839 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/1.354, allocations: 0 / 0.5839 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002176/1.356, allocations: 1.076 MB / 0.5849 GB, free: 12.8 MB / 0.5261 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 (62): * Single equations (assignments): 61 * 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 {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002707/1.359, allocations: 1.349 MB / 0.5863 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001314/1.36, allocations: 1.082 MB / 0.5873 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/1.36, allocations: 0 / 0.5873 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000581/1.361, allocations: 473.4 kB / 0.5878 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/1.362, allocations: 404.7 kB / 0.5882 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/1.363, allocations: 1.594 MB / 0.5897 GB, free: 8.039 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/1.364, allocations: 404.6 kB / 0.5901 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.459e-05/1.364, allocations: 44.44 kB / 0.5901 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of SimCode: time 7.71e-07/1.364, allocations: 0 / 0.5901 GB, free: 7.566 MB / 0.5261 GB Notification: Performance of Templates: time 0.02859/1.392, allocations: 28.66 MB / 0.6181 GB, free: 11.09 MB / 0.5573 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.824467778205872] Failed to read output from testmodel.py, exit status != 0: 1.6113759530708194 1.539991591 0.2925205 Calling exit ...