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 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8543/0.8543, allocations: 152.6 MB / 170.1 MB, free: 14.42 MB / 142.1 MB " [Timeout remaining time 179] 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.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.0005528/0.0005528, allocations: 16.58 kB / 246.8 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05514/0.05569, allocations: 33.07 MB / 279.8 MB, free: 15.79 MB / 238.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.Examples.SimpleExamples.TestDynamicWaterWaterExchanger): time 1.687/1.742, allocations: 302.7 MB / 0.5689 GB, free: 444 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03133/1.774, allocations: 23.2 MB / 0.5915 GB, free: 9.145 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003456/1.774, allocations: 12 kB / 0.5915 GB, free: 9.133 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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 4.0.0-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.0005623/1.775, allocations: 220.4 kB / 0.5918 GB, free: 8.918 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007234/1.775, allocations: 429.7 kB / 0.5922 GB, free: 8.496 MB / 478.1 MB [/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. Notification: Performance of NFTyping.typeClassSections: time 0.01804/1.793, allocations: 7.364 MB / 0.5994 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002857/1.796, allocations: 2.549 MB / 0.6018 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007833/1.797, allocations: 0.61 MB / 0.6024 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/1.798, allocations: 0.8727 MB / 0.6033 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/1.799, allocations: 0.8761 MB / 0.6041 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/1.8, allocations: 120 kB / 0.6043 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02654/1.826, allocations: 15.45 MB / 0.6194 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007411/1.827, allocations: 478.7 kB / 0.6198 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001068/1.828, allocations: 0.7621 MB / 0.6206 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01504/1.843, allocations: 7.922 MB / 0.6283 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.843, allocations: 0 / 0.6283 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.223e-06/1.843, allocations: 0 / 0.6283 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.958e-05/1.843, allocations: 0 / 0.6283 GB, free: 3.43 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.007567/1.851, allocations: 2.356 MB / 0.6306 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/1.851, allocations: 8.031 kB / 0.6306 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002721/1.851, allocations: 140 kB / 0.6307 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008895/1.852, allocations: 0.5772 MB / 0.6313 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/1.852, allocations: 102 kB / 0.6314 GB, free: 148 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002093/1.852, allocations: 104 kB / 0.6315 GB, free: 44 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003436/1.855, allocations: 1.966 MB / 0.6334 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/1.856, allocations: 0 / 0.6334 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001261/1.856, allocations: 44 kB / 0.6335 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.335e-05/1.856, allocations: 67.94 kB / 0.6335 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003614/1.859, allocations: 1.91 MB / 0.6354 GB, free: 11.99 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.08641/1.946, allocations: 39.77 MB / 0.6742 GB, free: 324 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002917/1.949, allocations: 1.52 MB / 0.6757 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002021/1.951, allocations: 1.037 MB / 0.6767 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08027/2.031, allocations: 33.86 MB / 0.7098 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/2.031, allocations: 47.81 kB / 0.7098 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=292): time 3.397e-06/2.031, allocations: 0 / 0.7098 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of matching and sorting (n=292): time 0.03306/2.064, allocations: 7.218 MB / 0.7169 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/2.064, allocations: 68.72 kB / 0.7169 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000476/2.065, allocations: 353.5 kB / 0.7173 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001522/2.065, allocations: 53.7 kB / 0.7173 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/2.065, allocations: 284.3 kB / 0.7176 GB, free: 428 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.1696/2.235, allocations: 0.9919 MB / 0.7186 GB, free: 219.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005799/2.235, allocations: 340.3 kB / 0.7189 GB, free: 219.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.365e-05/2.235, allocations: 327.9 kB / 0.7192 GB, free: 219.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/2.237, allocations: 1.022 MB / 0.7202 GB, free: 219.2 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/2.239, allocations: 1.214 MB / 0.7214 GB, free: 219.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/2.242, allocations: 2.458 MB / 0.7238 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/2.242, allocations: 0 / 0.7238 GB, free: 218.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.005722/2.248, allocations: 3.605 MB / 0.7273 GB, free: 218.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/2.248, allocations: 5.625 kB / 0.7273 GB, free: 218.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/2.248, allocations: 2.875 kB / 0.7273 GB, free: 218.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01598/2.264, allocations: 4.835 MB / 0.732 GB, free: 217.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/2.264, allocations: 29.05 kB / 0.7321 GB, free: 217.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007591/2.272, allocations: 4.902 MB / 0.7369 GB, free: 215.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/2.273, allocations: 198.5 kB / 0.737 GB, free: 215.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/2.273, allocations: 64.61 kB / 0.7371 GB, free: 215.7 MB / 0.5919 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.0004899/2.274, allocations: 356.8 kB / 0.7374 GB, free: 215.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001935/2.274, allocations: 106.9 kB / 0.7375 GB, free: 215.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009602/2.283, allocations: 10.7 MB / 0.748 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005229/2.289, allocations: 3.926 MB / 0.7518 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/2.289, allocations: 4 kB / 0.7518 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/2.289, allocations: 11.95 kB / 0.7518 GB, free: 204.1 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/2.302, allocations: 7.886 MB / 0.7595 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/2.302, allocations: 1.594 kB / 0.7595 GB, free: 196.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/2.303, allocations: 357.7 kB / 0.7599 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003996/2.307, allocations: 1.911 MB / 0.7617 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/2.308, allocations: 67.94 kB / 0.7618 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005792/2.313, allocations: 6.911 MB / 0.7686 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/2.313, allocations: 4.031 kB / 0.7686 GB, free: 186.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/2.324, allocations: 6.122 MB / 0.7745 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/2.324, allocations: 269.5 kB / 0.7748 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/2.324, allocations: 69.05 kB / 0.7749 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/2.325, allocations: 67.97 kB / 0.7749 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/2.326, allocations: 169.9 kB / 0.7751 GB, free: 180.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001326/2.326, allocations: 83.94 kB / 0.7752 GB, free: 180.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003493/2.326, allocations: 395.1 kB / 0.7756 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/2.326, allocations: 0 / 0.7756 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002617/2.329, allocations: 1.373 MB / 0.7769 GB, free: 178.5 MB / 0.5919 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.003391/2.332, allocations: 1.249 MB / 0.7781 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005821/2.338, allocations: 3.812 MB / 0.7818 GB, free: 173.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/2.338, allocations: 4.062 kB / 0.7818 GB, free: 173.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003341/2.341, allocations: 1.992 MB / 0.7838 GB, free: 171.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003479/2.345, allocations: 0.8809 MB / 0.7846 GB, free: 170.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007412/2.352, allocations: 5.209 MB / 0.7897 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006846/2.353, allocations: 1.532 MB / 0.7912 GB, free: 163.9 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007889/2.354, allocations: 311.1 kB / 0.7915 GB, free: 163.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/2.354, allocations: 107.4 kB / 0.7916 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/2.354, allocations: 4 kB / 0.7916 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.08633/2.44, allocations: 86.65 MB / 0.8763 GB, free: 78.15 MB / 0.5919 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 sys.exit(0), Time elapsed: 11.644240126013756]