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.8633/0.8633, allocations: 120.4 MB / 140.1 MB, free: 60 kB / 126.1 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 0.0005526/0.0005526, allocations: 23.97 kB / 217.7 MB, free: 12.97 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05544/0.05599, allocations: 33.36 MB / 251.1 MB, free: 11.55 MB / 238.1 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 1.764/1.82, allocations: 255.4 MB / 0.4947 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03151/1.851, allocations: 20.78 MB / 0.5149 GB, free: 8.902 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003522/1.852, allocations: 4 kB / 0.515 GB, free: 8.898 MB / 478.1 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.0005833/1.852, allocations: 198.7 kB / 0.5151 GB, free: 8.707 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000792/1.853, allocations: 420.5 kB / 0.5155 GB, free: 8.297 MB / 478.1 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.01918/1.872, allocations: 7.277 MB / 0.5226 GB, free: 1.051 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003079/1.875, allocations: 2.568 MB / 0.5252 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008393/1.876, allocations: 0.5989 MB / 0.5257 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/1.877, allocations: 0.9 MB / 0.5266 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/1.879, allocations: 0.8509 MB / 0.5275 GB, free: 12.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002277/1.879, allocations: 124 kB / 0.5276 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02705/1.906, allocations: 14.52 MB / 0.5417 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007557/1.907, allocations: 486.6 kB / 0.5422 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/1.908, allocations: 0.638 MB / 0.5428 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01564/1.923, allocations: 7.945 MB / 0.5506 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.923, allocations: 0 / 0.5506 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/1.923, allocations: 0 / 0.5506 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.39e-05/1.923, allocations: 0 / 0.5506 GB, free: 4.383 MB / 0.4981 GB 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.007589/1.931, allocations: 2.28 MB / 0.5528 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/1.931, allocations: 8.031 kB / 0.5528 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003034/1.931, allocations: 140 kB / 0.553 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/1.932, allocations: 0.5206 MB / 0.5535 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/1.932, allocations: 94 kB / 0.5536 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/1.933, allocations: 107.9 kB / 0.5537 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00345/1.936, allocations: 1.97 MB / 0.5556 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/1.936, allocations: 4 kB / 0.5556 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/1.936, allocations: 44 kB / 0.5556 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.841e-05/1.936, allocations: 71.92 kB / 0.5557 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003733/1.94, allocations: 1.914 MB / 0.5576 GB, free: 13.09 MB / 0.5137 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.08434/2.024, allocations: 24.07 MB / 0.5811 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002813/2.027, allocations: 1.526 MB / 0.5826 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/2.029, allocations: 1.041 MB / 0.5836 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08124/2.11, allocations: 21.19 MB / 0.6043 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/2.11, allocations: 43.88 kB / 0.6043 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 4.017e-06/2.11, allocations: 0 / 0.6043 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=292): time 0.03277/2.143, allocations: 6.928 MB / 0.6111 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/2.143, allocations: 68.66 kB / 0.6112 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/2.144, allocations: 249.8 kB / 0.6114 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/2.144, allocations: 57.7 kB / 0.6114 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002396/2.144, allocations: 296.2 kB / 0.6117 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008986/2.145, allocations: 1.003 MB / 0.6127 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005742/2.145, allocations: 339.9 kB / 0.613 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001509/2.146, allocations: 318 kB / 0.6133 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/2.148, allocations: 1.023 MB / 0.6143 GB, free: 2.711 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002277/2.15, allocations: 1.224 MB / 0.6155 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004771/2.155, allocations: 2.468 MB / 0.6179 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/2.155, allocations: 0 / 0.6179 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.007427/2.162, allocations: 3.605 MB / 0.6215 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/2.162, allocations: 7.938 kB / 0.6215 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/2.162, allocations: 4 kB / 0.6215 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01873/2.181, allocations: 4.824 MB / 0.6262 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/2.181, allocations: 31.92 kB / 0.6262 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/2.191, allocations: 4.898 MB / 0.631 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/2.192, allocations: 174.6 kB / 0.6312 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001706/2.193, allocations: 63.94 kB / 0.6312 GB, free: 1.25 MB / 0.5762 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.00071/2.193, allocations: 378.1 kB / 0.6316 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/2.194, allocations: 95.3 kB / 0.6317 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/2.208, allocations: 10.8 MB / 0.6422 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007486/2.216, allocations: 3.967 MB / 0.6461 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/2.216, allocations: 0 / 0.6461 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.047e-05/2.216, allocations: 11.95 kB / 0.6461 GB, free: 1.746 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01789/2.234, allocations: 7.386 MB / 0.6533 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/2.234, allocations: 0 / 0.6533 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001565/2.235, allocations: 355.5 kB / 0.6537 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005167/2.241, allocations: 1.937 MB / 0.6555 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002537/2.241, allocations: 67.94 kB / 0.6556 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009214/2.25, allocations: 6.681 MB / 0.6621 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/2.25, allocations: 4.031 kB / 0.6621 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/2.264, allocations: 6.154 MB / 0.6682 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003839/2.265, allocations: 186.1 kB / 0.6683 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002614/2.265, allocations: 63.84 kB / 0.6684 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/2.266, allocations: 71.95 kB / 0.6685 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003949/2.267, allocations: 185.8 kB / 0.6686 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/2.267, allocations: 79.95 kB / 0.6687 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004353/2.267, allocations: 327.1 kB / 0.669 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/2.267, allocations: 4 kB / 0.669 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003693/2.271, allocations: 1.384 MB / 0.6704 GB, free: 8.445 MB / 0.6231 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.004724/2.276, allocations: 1.254 MB / 0.6716 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008417/2.284, allocations: 3.845 MB / 0.6754 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/2.284, allocations: 0 / 0.6754 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004739/2.289, allocations: 2.019 MB / 0.6773 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004348/2.293, allocations: 0.8382 MB / 0.6781 GB, free: 268 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1753/2.468, allocations: 5.182 MB / 0.6832 GB, free: 246.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007634/2.469, allocations: 0.9506 MB / 0.6841 GB, free: 246.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000821/2.47, allocations: 307 kB / 0.6844 GB, free: 246.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/2.47, allocations: 99.45 kB / 0.6845 GB, free: 246.3 MB / 0.6231 GB Notification: Performance of SimCode: time 5.91e-07/2.47, allocations: 0 / 0.6845 GB, free: 246.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.08327/2.554, allocations: 76.86 MB / 0.7596 GB, free: 183.9 MB / 0.6231 GB " [Timeout remaining time 657] 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 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.386566450004466] Failed to read output from testmodel.py, exit status != 0: 2.673326382995583 2.682392537 0.756736031 Calling exit ...