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.9173/0.9173, allocations: 153.8 MB / 173.4 MB, free: 4.875 MB / 142.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.0005557/0.0005557, allocations: 11.98 kB / 251 MB, free: 3.871 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1696, allocations: 33.37 MB / 284.4 MB, free: 2.047 MB / 222.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 2.179/2.349, allocations: 309 MB / 0.5795 GB, free: 17.31 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02294/2.372, allocations: 20.77 MB / 0.5997 GB, free: 8.496 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005355/2.372, allocations: 5.562 kB / 0.5998 GB, free: 8.496 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.0006381/2.373, allocations: 196.3 kB / 0.5999 GB, free: 8.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009513/2.374, allocations: 432.2 kB / 0.6004 GB, free: 8.141 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.01682/2.391, allocations: 7.263 MB / 0.6074 GB, free: 4.863 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002266/2.393, allocations: 2.557 MB / 0.6099 GB, free: 3.332 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005218/2.394, allocations: 0.5975 MB / 0.6105 GB, free: 2.906 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007587/2.394, allocations: 0.9031 MB / 0.6114 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009328/2.395, allocations: 0.8539 MB / 0.6122 GB, free: 1.922 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001917/2.396, allocations: 121.3 kB / 0.6124 GB, free: 1.922 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02711/2.423, allocations: 14.53 MB / 0.6265 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007444/2.423, allocations: 482.7 kB / 0.627 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00112/2.425, allocations: 0.6341 MB / 0.6276 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01425/2.439, allocations: 7.958 MB / 0.6354 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/2.439, allocations: 0 / 0.6354 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/2.439, allocations: 2.375 kB / 0.6354 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.461e-05/2.439, allocations: 0 / 0.6354 GB, free: 10.71 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.006578/2.445, allocations: 2.273 MB / 0.6376 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/2.445, allocations: 8.031 kB / 0.6376 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/2.446, allocations: 140 kB / 0.6378 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/2.447, allocations: 0.5261 MB / 0.6383 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/2.447, allocations: 95.72 kB / 0.6384 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002085/2.447, allocations: 104 kB / 0.6385 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003262/2.45, allocations: 1.966 MB / 0.6404 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/2.45, allocations: 7.938 kB / 0.6404 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/2.45, allocations: 40.78 kB / 0.6404 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.595e-05/2.451, allocations: 76.67 kB / 0.6405 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003581/2.454, allocations: 1.91 MB / 0.6424 GB, free: 3.449 MB / 0.4981 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.07925/2.533, allocations: 24.08 MB / 0.6659 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/2.536, allocations: 1.505 MB / 0.6674 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/2.538, allocations: 1.045 MB / 0.6684 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07728/2.615, allocations: 21.2 MB / 0.6891 GB, free: 3.512 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/2.615, allocations: 43.88 kB / 0.6891 GB, free: 3.461 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 5.04e-06/2.615, allocations: 0.8438 kB / 0.6891 GB, free: 3.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.03104/2.646, allocations: 6.933 MB / 0.6959 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/2.646, allocations: 72.66 kB / 0.696 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/2.647, allocations: 252.9 kB / 0.6962 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/2.647, allocations: 49.7 kB / 0.6962 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/2.647, allocations: 296.2 kB / 0.6965 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009469/2.648, allocations: 1.003 MB / 0.6975 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005669/2.649, allocations: 339.9 kB / 0.6978 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001715/2.649, allocations: 318 kB / 0.6981 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/2.651, allocations: 1.023 MB / 0.6991 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/2.653, allocations: 1.221 MB / 0.7003 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004513/2.657, allocations: 2.472 MB / 0.7027 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/2.657, allocations: 4 kB / 0.7027 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.007077/2.665, allocations: 3.597 MB / 0.7063 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/2.665, allocations: 11.94 kB / 0.7063 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/2.665, allocations: 0 / 0.7063 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01731/2.682, allocations: 4.827 MB / 0.711 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/2.682, allocations: 32.67 kB / 0.711 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009564/2.692, allocations: 4.909 MB / 0.7158 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/2.693, allocations: 174.6 kB / 0.716 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/2.693, allocations: 59.94 kB / 0.716 GB, free: 7.637 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.0006885/2.694, allocations: 370.6 kB / 0.7164 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002287/2.694, allocations: 99.3 kB / 0.7165 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/2.708, allocations: 10.79 MB / 0.727 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006996/2.715, allocations: 3.963 MB / 0.7309 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/2.715, allocations: 0.875 kB / 0.7309 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.949e-05/2.715, allocations: 19.94 kB / 0.7309 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01678/2.731, allocations: 7.382 MB / 0.7381 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/2.731, allocations: 0 / 0.7381 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/2.733, allocations: 351.6 kB / 0.7385 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004789/2.738, allocations: 1.928 MB / 0.7403 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001757/2.738, allocations: 72.56 kB / 0.7404 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008635/2.747, allocations: 6.683 MB / 0.7469 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/2.747, allocations: 0 / 0.7469 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/2.76, allocations: 6.163 MB / 0.7529 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/2.76, allocations: 190.1 kB / 0.7531 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/2.76, allocations: 68.59 kB / 0.7532 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009855/2.761, allocations: 67.95 kB / 0.7533 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003336/2.761, allocations: 181.8 kB / 0.7534 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/2.762, allocations: 79.95 kB / 0.7535 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004026/2.762, allocations: 335.1 kB / 0.7538 GB, free: 268 kB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/2.762, allocations: 0 / 0.7538 GB, free: 268 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003489/2.766, allocations: 1.377 MB / 0.7552 GB, free: 14.88 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.00381/2.769, allocations: 1.265 MB / 0.7564 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.007819/2.777, allocations: 3.835 MB / 0.7602 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/2.777, allocations: 3.938 kB / 0.7602 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004443/2.782, allocations: 2.013 MB / 0.7621 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003968/2.786, allocations: 0.8445 MB / 0.7629 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009919/2.796, allocations: 5.303 MB / 0.7681 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/2.797, allocations: 0.9514 MB / 0.7691 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003082/2.797, allocations: 99.39 kB / 0.7692 GB, free: 464 kB / 0.6231 GB Notification: Performance of SimCode: time 7.32e-07/2.797, allocations: 0 / 0.7692 GB, free: 464 kB / 0.6231 GB Notification: Performance of Templates: time 0.07356/2.87, allocations: 55.64 MB / 0.8235 GB, free: 9.145 MB / 0.6856 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 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestDynamicWaterWaterExchanger.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 12.683147539850324] Failed to read output from testmodel.py, exit status != 0: 3.158172420691699 3.167227268 0.726127223 Calling exit ...