Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.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.5726/0.5726, allocations: 120.4 MB / 140.2 MB, free: 12.98 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.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.604e-06/2.604e-06, allocations: 0 / 218 MB, free: 8.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.439e-05, allocations: 4.188 kB / 218 MB, free: 8.602 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.TestDynamicWaterWaterExchanger): time 0.9968/0.9968, allocations: 255.7 MB / 473.7 MB, free: 7.461 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01941/1.016, allocations: 20.76 MB / 494.4 MB, free: 2.621 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/1.016, allocations: 8 kB / 494.5 MB, free: 2.613 MB / 442.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/DynamicWaterWaterExchanger.mo:117:3-118:48: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/DynamicWaterWaterExchanger.mo:119:3-120:48: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/DynamicWaterWaterExchanger.mo:121:3-122:46: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/DynamicWaterWaterExchanger.mo:123:3-124:46: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.0004554/1.017, allocations: 198.7 kB / 494.6 MB, free: 2.418 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005522/1.017, allocations: 433.3 kB / 495.1 MB, free: 1.992 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.2335/1.251, allocations: 7.327 MB / 0.4906 GB, free: 1.883 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00205/1.253, allocations: 2.606 MB / 0.4932 GB, free: 1.496 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006731/1.254, allocations: 0.6066 MB / 0.4938 GB, free: 1.457 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001167/1.255, allocations: 1.258 MB / 0.495 GB, free: 1.375 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008038/1.256, allocations: 0.7816 MB / 0.4957 GB, free: 1.328 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001721/1.256, allocations: 119.1 kB / 0.4959 GB, free: 1.328 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01692/1.273, allocations: 14.54 MB / 0.5101 GB, free: 9.402 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003831/1.273, allocations: 0.4902 MB / 0.5105 GB, free: 8.941 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006212/1.274, allocations: 0.5407 MB / 0.5111 GB, free: 8.434 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01283/1.287, allocations: 10.07 MB / 0.5209 GB, free: 14.72 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.287, allocations: 0 / 0.5209 GB, free: 14.72 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.834e-06/1.287, allocations: 4 kB / 0.5209 GB, free: 14.72 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.908e-05/1.287, allocations: 0 / 0.5209 GB, free: 14.72 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.004644/1.291, allocations: 2.265 MB / 0.5231 GB, free: 12.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/1.291, allocations: 8.031 kB / 0.5231 GB, free: 12.42 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/1.291, allocations: 144.7 kB / 0.5233 GB, free: 12.28 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005995/1.292, allocations: 0.5131 MB / 0.5238 GB, free: 11.78 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.04e-05/1.292, allocations: 94.38 kB / 0.5239 GB, free: 11.69 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/1.292, allocations: 106.3 kB / 0.524 GB, free: 11.59 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002316/1.295, allocations: 1.974 MB / 0.5259 GB, free: 9.551 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/1.295, allocations: 3.844 kB / 0.5259 GB, free: 9.551 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.35e-05/1.295, allocations: 44.5 kB / 0.5259 GB, free: 9.508 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.985e-05/1.295, allocations: 68.88 kB / 0.526 GB, free: 9.441 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/1.297, allocations: 1.912 MB / 0.5279 GB, free: 7.543 MB / 474.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.03938/1.336, allocations: 24.07 MB / 0.5514 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/1.338, allocations: 1.512 MB / 0.5528 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/1.339, allocations: 1.049 MB / 0.5539 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03553/1.375, allocations: 21.2 MB / 0.5746 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/1.375, allocations: 43.88 kB / 0.5746 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=292): time 2.785e-06/1.375, allocations: 0.9375 kB / 0.5746 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of matching and sorting (n=292): time 0.01566/1.391, allocations: 6.932 MB / 0.5814 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/1.391, allocations: 64.72 kB / 0.5815 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/1.391, allocations: 260.8 kB / 0.5817 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.56e-05/1.391, allocations: 49.7 kB / 0.5817 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/1.391, allocations: 294.9 kB / 0.582 GB, free: 236 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004712/1.391, allocations: 0.9865 MB / 0.583 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/1.392, allocations: 341.2 kB / 0.5833 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.462e-05/1.392, allocations: 321.7 kB / 0.5836 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/1.393, allocations: 1.026 MB / 0.5846 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/1.394, allocations: 1.221 MB / 0.5858 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/1.397, allocations: 2.463 MB / 0.5882 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/1.397, allocations: 0 / 0.5882 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.004439/1.401, allocations: 3.608 MB / 0.5917 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/1.401, allocations: 8 kB / 0.5918 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/1.401, allocations: 1.625 kB / 0.5918 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008666/1.41, allocations: 4.82 MB / 0.5965 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/1.41, allocations: 30.52 kB / 0.5965 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005372/1.416, allocations: 4.892 MB / 0.6013 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/1.416, allocations: 182.5 kB / 0.6014 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.829e-05/1.416, allocations: 67.94 kB / 0.6015 GB, free: 12.17 MB / 0.5417 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 (puitsP1.C.a,puitsP.C.a,sourceP1.C.b,sourceP.C.b,echangeurAPlaques1D.Sc.b,echangeurAPlaques1D.Sf.b,echangeurAPlaques1D.Ef.a,echangeurAPlaques1D.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(22,100)} Notification: Performance of prepare postOptimizeDAE: time 0.000476/1.417, allocations: 372.7 kB / 0.6019 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/1.417, allocations: 100.6 kB / 0.602 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008553/1.425, allocations: 10.8 MB / 0.6125 GB, free: 0.7148 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004012/1.429, allocations: 3.956 MB / 0.6164 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.429, allocations: 0 / 0.6164 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/1.429, allocations: 12.52 kB / 0.6164 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009269/1.439, allocations: 7.388 MB / 0.6236 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.439, allocations: 0 / 0.6236 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009943/1.44, allocations: 355.5 kB / 0.6239 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002408/1.442, allocations: 1.926 MB / 0.6258 GB, free: 3.113 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/1.442, allocations: 71.94 kB / 0.6259 GB, free: 3.043 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005075/1.447, allocations: 6.675 MB / 0.6324 GB, free: 12.14 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.447, allocations: 3.844 kB / 0.6324 GB, free: 12.14 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007453/1.455, allocations: 6.155 MB / 0.6384 GB, free: 5.93 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/1.455, allocations: 190.1 kB / 0.6386 GB, free: 5.742 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/1.455, allocations: 64.72 kB / 0.6387 GB, free: 5.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/1.456, allocations: 71.95 kB / 0.6387 GB, free: 5.609 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/1.456, allocations: 182.4 kB / 0.6389 GB, free: 5.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.084e-05/1.456, allocations: 83.95 kB / 0.639 GB, free: 5.348 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002464/1.456, allocations: 327.1 kB / 0.6393 GB, free: 5.027 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/1.456, allocations: 0 / 0.6393 GB, free: 5.027 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002627/1.459, allocations: 1.384 MB / 0.6407 GB, free: 3.641 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (echangeurAPlaques1D.Hmc[1],echangeurAPlaques1D.Hmc[2],echangeurAPlaques1D.Hmc[3],echangeurAPlaques1D.Hmc[4],echangeurAPlaques1D.Hmc[5],echangeurAPlaques1D.Hmf[1],echangeurAPlaques1D.Hmf[2],echangeurAPlaques1D.Hmf[3],echangeurAPlaques1D.Hmf[4],echangeurAPlaques1D.Hmf[5]) * 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 (188): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,35), (5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002595/1.461, allocations: 1.398 MB / 0.642 GB, free: 2.387 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004376/1.466, allocations: 3.825 MB / 0.6458 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.466, allocations: 4 kB / 0.6458 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002273/1.468, allocations: 2.023 MB / 0.6477 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/1.47, allocations: 0.837 MB / 0.6485 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005829/1.476, allocations: 5.075 MB / 0.6535 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006249/1.476, allocations: 0.9495 MB / 0.6544 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/1.477, allocations: 104.5 kB / 0.6545 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of SimCode: time 1.202e-06/1.477, allocations: 0 / 0.6545 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of Templates: time 0.04434/1.521, allocations: 55.88 MB / 0.7091 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.849884514696896] Failed to read output from testmodel.py, exit status != 0: 1.9474546546116471 1.868727154 0.580708435 Calling exit ...