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.8881/0.8881, allocations: 153.8 MB / 173.4 MB, free: 4.93 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.0005621/0.0005621, allocations: 11.98 kB / 251.1 MB, free: 3.93 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1916, allocations: 33.36 MB / 284.5 MB, free: 2.129 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 1.939/2.13, allocations: 309.2 MB / 0.5797 GB, free: 15.96 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02504/2.156, allocations: 23.28 MB / 0.6025 GB, free: 5.469 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000661/2.156, allocations: 5.906 kB / 0.6025 GB, free: 5.469 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.0006295/2.157, allocations: 228.1 kB / 0.6027 GB, free: 5.359 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008361/2.158, allocations: 421.7 kB / 0.6031 GB, free: 5.098 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.02099/2.179, allocations: 7.385 MB / 0.6103 GB, free: 1.902 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002827/2.181, allocations: 2.571 MB / 0.6128 GB, free: 372 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008091/2.182, allocations: 0.5922 MB / 0.6134 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/2.184, allocations: 0.8911 MB / 0.6142 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/2.185, allocations: 0.8772 MB / 0.6151 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001875/2.185, allocations: 121.7 kB / 0.6152 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03172/2.217, allocations: 15.48 MB / 0.6303 GB, free: 68 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009511/2.218, allocations: 478.7 kB / 0.6308 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001332/2.219, allocations: 0.7622 MB / 0.6315 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01893/2.238, allocations: 7.928 MB / 0.6393 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/2.238, allocations: 0 / 0.6393 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/2.238, allocations: 0.5 kB / 0.6393 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.993e-05/2.238, allocations: 8.688 kB / 0.6393 GB, free: 6.875 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.008723/2.247, allocations: 2.285 MB / 0.6415 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/2.247, allocations: 8.562 kB / 0.6415 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003205/2.247, allocations: 140.7 kB / 0.6417 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/2.248, allocations: 0.5176 MB / 0.6422 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/2.248, allocations: 95.25 kB / 0.6423 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002033/2.249, allocations: 105.2 kB / 0.6424 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003463/2.252, allocations: 1.971 MB / 0.6443 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/2.252, allocations: 7.875 kB / 0.6443 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/2.252, allocations: 44 kB / 0.6443 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.583e-05/2.252, allocations: 69.72 kB / 0.6444 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/2.256, allocations: 1.916 MB / 0.6463 GB, free: 15.61 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.0783/2.334, allocations: 26.02 MB / 0.6717 GB, free: 5.109 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00302/2.337, allocations: 1.532 MB / 0.6732 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002093/2.34, allocations: 1.046 MB / 0.6742 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07301/2.413, allocations: 21.13 MB / 0.6948 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/2.413, allocations: 44.44 kB / 0.6949 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=292): time 3.396e-06/2.413, allocations: 0 / 0.6949 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of matching and sorting (n=292): time 0.03152/2.444, allocations: 6.943 MB / 0.7017 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.366e-05/2.444, allocations: 64.72 kB / 0.7017 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/2.445, allocations: 353.6 kB / 0.7021 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/2.445, allocations: 45.7 kB / 0.7021 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/2.445, allocations: 292.2 kB / 0.7024 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009711/2.446, allocations: 0.9989 MB / 0.7034 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005569/2.447, allocations: 344.6 kB / 0.7037 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001639/2.447, allocations: 330 kB / 0.704 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001974/2.449, allocations: 1.023 MB / 0.705 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002148/2.451, allocations: 1.224 MB / 0.7062 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004512/2.455, allocations: 2.468 MB / 0.7086 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/2.455, allocations: 4.438 kB / 0.7086 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.00711/2.463, allocations: 3.609 MB / 0.7121 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/2.463, allocations: 12.66 kB / 0.7121 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/2.463, allocations: 4 kB / 0.7122 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01785/2.48, allocations: 4.823 MB / 0.7169 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/2.481, allocations: 32.8 kB / 0.7169 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/2.491, allocations: 4.906 MB / 0.7217 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/2.493, allocations: 190.4 kB / 0.7219 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/2.493, allocations: 63.95 kB / 0.7219 GB, free: 1.383 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.0008/2.493, allocations: 367.2 kB / 0.7223 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/2.494, allocations: 107.2 kB / 0.7224 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/2.508, allocations: 10.8 MB / 0.7329 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006982/2.515, allocations: 3.952 MB / 0.7368 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/2.515, allocations: 4 kB / 0.7368 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.83e-05/2.515, allocations: 17.73 kB / 0.7368 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01792/2.533, allocations: 7.902 MB / 0.7445 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/2.533, allocations: 4 kB / 0.7445 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/2.534, allocations: 347.6 kB / 0.7449 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005009/2.539, allocations: 1.931 MB / 0.7467 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003675/2.54, allocations: 75.88 kB / 0.7468 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008727/2.548, allocations: 6.738 MB / 0.7534 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/2.548, allocations: 8 kB / 0.7534 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/2.562, allocations: 6.162 MB / 0.7594 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005179/2.563, allocations: 199.5 kB / 0.7596 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003142/2.563, allocations: 63.83 kB / 0.7597 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/2.564, allocations: 68.7 kB / 0.7597 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003814/2.564, allocations: 181.8 kB / 0.7599 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/2.565, allocations: 83.95 kB / 0.76 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000541/2.565, allocations: 401.2 kB / 0.7604 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/2.565, allocations: 0 / 0.7604 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.004873/2.57, allocations: 1.38 MB / 0.7617 GB, free: 7.926 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.005792/2.576, allocations: 1.255 MB / 0.7629 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008454/2.584, allocations: 3.837 MB / 0.7667 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/2.584, allocations: 0 / 0.7667 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004672/2.589, allocations: 2.023 MB / 0.7687 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/2.593, allocations: 0.8783 MB / 0.7695 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01052/2.604, allocations: 5.319 MB / 0.7747 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001321/2.605, allocations: 1.538 MB / 0.7762 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/2.605, allocations: 103.4 kB / 0.7763 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/2.605, allocations: 0 / 0.7763 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of Templates: time 0.08647/2.692, allocations: 55.55 MB / 0.8306 GB, free: 1.684 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: 13.45986963598989] Failed to read output from testmodel.py, exit status != 0: 3.063466801075265 3.073533882 0.832873774 Calling exit ...