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.8939/0.8939, allocations: 153.8 MB / 172.7 MB, free: 4.84 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.0005591/0.0005591, allocations: 15.97 kB / 250.3 MB, free: 3.863 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1535, allocations: 33.35 MB / 283.7 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 1.9/2.053, allocations: 309 MB / 0.5787 GB, free: 17.19 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02274/2.076, allocations: 20.77 MB / 0.599 GB, free: 8.176 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004741/2.076, allocations: 6.844 kB / 0.599 GB, free: 8.176 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.0005189/2.077, allocations: 200.2 kB / 0.5992 GB, free: 8.086 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006628/2.077, allocations: 424.1 kB / 0.5996 GB, free: 7.824 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.01761/2.095, allocations: 7.269 MB / 0.6067 GB, free: 4.594 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002274/2.097, allocations: 2.559 MB / 0.6092 GB, free: 3.059 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000572/2.098, allocations: 0.5992 MB / 0.6098 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008691/2.099, allocations: 0.9082 MB / 0.6107 GB, free: 2.137 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/2.1, allocations: 0.8495 MB / 0.6115 GB, free: 1.648 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00023/2.1, allocations: 122.3 kB / 0.6116 GB, free: 1.648 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02832/2.128, allocations: 14.53 MB / 0.6258 GB, free: 3.473 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008147/2.129, allocations: 483.2 kB / 0.6263 GB, free: 3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001139/2.13, allocations: 0.6347 MB / 0.6269 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01621/2.147, allocations: 7.953 MB / 0.6347 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/2.147, allocations: 3.062 kB / 0.6347 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.074e-06/2.147, allocations: 0 / 0.6347 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.137e-05/2.147, allocations: 0 / 0.6347 GB, free: 10.39 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.007248/2.154, allocations: 2.273 MB / 0.6369 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/2.154, allocations: 12.03 kB / 0.6369 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/2.154, allocations: 144.7 kB / 0.637 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/2.155, allocations: 0.5206 MB / 0.6375 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/2.155, allocations: 99.45 kB / 0.6376 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002191/2.156, allocations: 104 kB / 0.6377 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003441/2.159, allocations: 1.974 MB / 0.6397 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/2.159, allocations: 1.031 kB / 0.6397 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/2.159, allocations: 40 kB / 0.6397 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.986e-05/2.159, allocations: 72.5 kB / 0.6398 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00369/2.163, allocations: 1.914 MB / 0.6416 GB, free: 3.125 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.08211/2.245, allocations: 24.07 MB / 0.6651 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002775/2.248, allocations: 1.52 MB / 0.6666 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/2.25, allocations: 1.045 MB / 0.6677 GB, free: 8.398 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07949/2.329, allocations: 21.2 MB / 0.6883 GB, free: 3.184 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.638e-05/2.329, allocations: 47.88 kB / 0.6884 GB, free: 3.129 MB / 0.545 GB Notification: Performance of pre-optimization done (n=292): time 4.198e-06/2.329, allocations: 0 / 0.6884 GB, free: 3.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=292): time 0.03177/2.361, allocations: 6.924 MB / 0.6952 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/2.361, allocations: 73.31 kB / 0.6952 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/2.362, allocations: 252.9 kB / 0.6955 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/2.362, allocations: 49.7 kB / 0.6955 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/2.362, allocations: 300.2 kB / 0.6958 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009098/2.363, allocations: 1.003 MB / 0.6968 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005534/2.363, allocations: 339.9 kB / 0.6971 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001578/2.364, allocations: 318 kB / 0.6974 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/2.366, allocations: 1.023 MB / 0.6984 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002252/2.368, allocations: 1.224 MB / 0.6996 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004874/2.373, allocations: 2.469 MB / 0.702 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/2.373, allocations: 3.938 kB / 0.702 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.007414/2.38, allocations: 3.597 MB / 0.7055 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/2.38, allocations: 11.94 kB / 0.7055 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/2.38, allocations: 6.156 kB / 0.7055 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01791/2.398, allocations: 4.824 MB / 0.7103 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/2.398, allocations: 32.86 kB / 0.7103 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/2.408, allocations: 4.902 MB / 0.7151 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/2.409, allocations: 178.5 kB / 0.7152 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/2.41, allocations: 59.89 kB / 0.7153 GB, free: 7.312 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.0007431/2.41, allocations: 375.2 kB / 0.7157 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/2.411, allocations: 95.3 kB / 0.7158 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01446/2.425, allocations: 10.79 MB / 0.7263 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007277/2.432, allocations: 3.963 MB / 0.7302 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.495e-05/2.432, allocations: 4 kB / 0.7302 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.486e-05/2.432, allocations: 17.44 kB / 0.7302 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/2.45, allocations: 7.381 MB / 0.7374 GB, free: 376 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/2.45, allocations: 0 / 0.7374 GB, free: 376 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/2.452, allocations: 359.5 kB / 0.7377 GB, free: 16 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005062/2.457, allocations: 1.926 MB / 0.7396 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002197/2.457, allocations: 67.94 kB / 0.7397 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009008/2.466, allocations: 6.689 MB / 0.7462 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/2.466, allocations: 0 / 0.7462 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01384/2.48, allocations: 6.158 MB / 0.7522 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003602/2.48, allocations: 186.2 kB / 0.7524 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002901/2.48, allocations: 71.77 kB / 0.7525 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/2.481, allocations: 63.97 kB / 0.7525 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000353/2.482, allocations: 189.8 kB / 0.7527 GB, free: 360 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/2.482, allocations: 80.5 kB / 0.7528 GB, free: 280 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004476/2.482, allocations: 331.9 kB / 0.7531 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9.1e-08/2.482, allocations: 0 / 0.7531 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00353/2.486, allocations: 1.377 MB / 0.7544 GB, free: 14.57 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.491, allocations: 1.26 MB / 0.7557 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008156/2.499, allocations: 3.842 MB / 0.7594 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/2.499, allocations: 0 / 0.7594 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004902/2.504, allocations: 2.012 MB / 0.7614 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004578/2.508, allocations: 0.8462 MB / 0.7622 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/2.521, allocations: 5.205 MB / 0.7673 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/2.522, allocations: 0.9514 MB / 0.7682 GB, free: 348 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001069/2.523, allocations: 299.4 kB / 0.7685 GB, free: 56 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003401/2.523, allocations: 99.44 kB / 0.7686 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of SimCode: time 1.783e-06/2.523, allocations: 0 / 0.7686 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of Templates: time 0.2962/2.82, allocations: 79.52 MB / 0.8463 GB, free: 294 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 sys.exit(0), Time elapsed: 10.829299373552203] Failed to read output from testmodel.py, exit status != 0: 2.938332771882415 2.946889442 0.79809412 Calling exit ...