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.8564/0.8564, allocations: 120.4 MB / 139.5 MB, free: 480 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 2.234e-06/2.234e-06, allocations: 0 / 217.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.529e-05, allocations: 2.281 kB / 217.2 MB, free: 13.72 MB / 206.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.534/1.534, allocations: 255.7 MB / 472.9 MB, free: 9.215 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2395/1.774, allocations: 20.79 MB / 493.7 MB, free: 14.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004502/1.774, allocations: 7.375 kB / 493.7 MB, free: 14.5 MB / 446.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.0006387/1.775, allocations: 199.9 kB / 493.9 MB, free: 14.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009922/1.776, allocations: 428.6 kB / 494.3 MB, free: 14.14 MB / 446.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.02261/1.798, allocations: 7.323 MB / 0.4899 GB, free: 9.281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003196/1.802, allocations: 2.614 MB / 0.4924 GB, free: 7.691 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001083/1.803, allocations: 0.6069 MB / 0.493 GB, free: 7.258 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002157/1.805, allocations: 1.259 MB / 0.4943 GB, free: 6.477 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/1.806, allocations: 0.7778 MB / 0.495 GB, free: 6.062 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002707/1.806, allocations: 120.6 kB / 0.4951 GB, free: 6.062 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02888/1.835, allocations: 14.54 MB / 0.5093 GB, free: 8.18 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007762/1.836, allocations: 0.4924 MB / 0.5098 GB, free: 7.688 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001104/1.837, allocations: 0.5457 MB / 0.5103 GB, free: 7.141 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02041/1.858, allocations: 10.06 MB / 0.5202 GB, free: 13.05 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/1.858, allocations: 0 / 0.5202 GB, free: 13.05 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/1.858, allocations: 0 / 0.5202 GB, free: 13.05 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.424e-05/1.858, allocations: 6.438 kB / 0.5202 GB, free: 13.05 MB / 478.1 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.007702/1.865, allocations: 2.252 MB / 0.5224 GB, free: 10.77 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/1.865, allocations: 8.531 kB / 0.5224 GB, free: 10.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003088/1.866, allocations: 145.4 kB / 0.5225 GB, free: 10.62 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009533/1.867, allocations: 0.5085 MB / 0.523 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/1.867, allocations: 94.38 kB / 0.5231 GB, free: 9.984 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/1.867, allocations: 112.4 kB / 0.5232 GB, free: 9.875 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003545/1.871, allocations: 1.968 MB / 0.5251 GB, free: 7.844 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/1.871, allocations: 9.438 kB / 0.5252 GB, free: 7.836 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/1.871, allocations: 45.11 kB / 0.5252 GB, free: 7.793 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.635e-05/1.871, allocations: 71.94 kB / 0.5253 GB, free: 7.723 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003833/1.875, allocations: 1.909 MB / 0.5271 GB, free: 5.816 MB / 478.1 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.08255/1.957, allocations: 24.07 MB / 0.5506 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003027/1.96, allocations: 1.523 MB / 0.5521 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002108/1.962, allocations: 1.045 MB / 0.5531 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07996/2.042, allocations: 21.19 MB / 0.5738 GB, free: 5.977 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.408e-05/2.042, allocations: 51.86 kB / 0.5739 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=292): time 4.098e-06/2.042, allocations: 0 / 0.5739 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=292): time 0.03468/2.077, allocations: 6.932 MB / 0.5807 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/2.077, allocations: 68.72 kB / 0.5807 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/2.077, allocations: 254.9 kB / 0.581 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001968/2.078, allocations: 45.7 kB / 0.581 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/2.078, allocations: 296.2 kB / 0.5813 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001019/2.079, allocations: 0.9911 MB / 0.5823 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006601/2.08, allocations: 339.9 kB / 0.5826 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001554/2.08, allocations: 321.9 kB / 0.5829 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002178/2.082, allocations: 1.03 MB / 0.5839 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/2.084, allocations: 1.216 MB / 0.5851 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004869/2.089, allocations: 2.464 MB / 0.5875 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/2.089, allocations: 4 kB / 0.5875 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.007736/2.097, allocations: 3.601 MB / 0.591 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/2.097, allocations: 8.562 kB / 0.591 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/2.097, allocations: 0 / 0.591 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01851/2.115, allocations: 4.82 MB / 0.5957 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/2.116, allocations: 35.92 kB / 0.5958 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/2.126, allocations: 4.894 MB / 0.6005 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/2.128, allocations: 174.6 kB / 0.6007 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/2.128, allocations: 66.08 kB / 0.6008 GB, free: 10.13 MB / 0.545 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.0007289/2.128, allocations: 377.7 kB / 0.6011 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002792/2.129, allocations: 95.91 kB / 0.6012 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/2.143, allocations: 10.79 MB / 0.6118 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00738/2.15, allocations: 3.96 MB / 0.6156 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/2.15, allocations: 0 / 0.6156 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.623e-05/2.15, allocations: 15.95 kB / 0.6156 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01751/2.168, allocations: 7.385 MB / 0.6229 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/2.168, allocations: 0 / 0.6229 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/2.17, allocations: 355.6 kB / 0.6232 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005263/2.175, allocations: 1.927 MB / 0.6251 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/2.175, allocations: 71.94 kB / 0.6251 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009169/2.184, allocations: 6.69 MB / 0.6317 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/2.184, allocations: 0 / 0.6317 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/2.198, allocations: 6.154 MB / 0.6377 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/2.199, allocations: 182.2 kB / 0.6379 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002629/2.199, allocations: 68.7 kB / 0.6379 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/2.2, allocations: 72 kB / 0.638 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003848/2.2, allocations: 185.7 kB / 0.6382 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/2.201, allocations: 87.94 kB / 0.6383 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004358/2.201, allocations: 323.2 kB / 0.6386 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/2.201, allocations: 0 / 0.6386 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00349/2.205, allocations: 1.384 MB / 0.6399 GB, free: 1.355 MB / 0.5762 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.005088/2.21, allocations: 1.394 MB / 0.6413 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008596/2.218, allocations: 3.825 MB / 0.645 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/2.218, allocations: 0 / 0.645 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004841/2.223, allocations: 2.023 MB / 0.647 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004312/2.227, allocations: 0.8388 MB / 0.6478 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/2.238, allocations: 4.972 MB / 0.6527 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/2.239, allocations: 0.9534 MB / 0.6536 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009061/2.24, allocations: 298.4 kB / 0.6539 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/2.24, allocations: 104.5 kB / 0.654 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/2.24, allocations: 0 / 0.654 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of Templates: time 0.2872/2.527, allocations: 76.37 MB / 0.7286 GB, free: 281.3 MB / 0.6544 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: 10.407114069908857] Failed to read output from testmodel.py, exit status != 0: 2.6454659290611744 2.654632743 0.794643487 Calling exit ...