Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.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.7913/0.7913, allocations: 111.6 MB / 131 MB, free: 5.07 MB / 122.7 MB " [Timeout remaining time 179] Using package ThermoSysPro with version 4.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/package.mo) Running command: translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") translateModel(ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 175.7 MB, free: 9.449 MB / 170.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.78e-05/3.002e-05, allocations: 5.703 kB / 175.7 MB, free: 9.445 MB / 170.7 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.TestStaticWaterWaterExchanger): time 1.645/1.645, allocations: 255.9 MB / 431.6 MB, free: 15.39 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03481/1.68, allocations: 20.66 MB / 452.3 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003671/1.68, allocations: 4 kB / 452.3 MB, free: 10.64 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:54:3-55:80: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/StaticWaterWaterExchanger.mo:56:3-57:80: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/StaticWaterWaterExchanger.mo:58:3-59:78: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/StaticWaterWaterExchanger.mo:60:3-61:77: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:19:3-20:78: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:19:3-20:80: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.0005724/1.681, allocations: 174.7 kB / 452.4 MB, free: 10.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008251/1.682, allocations: 329.7 kB / 452.8 MB, free: 10.14 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/Properties/WaterSteam/IF97_packages.mo:470:9-470: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:525:9-525: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:708:9-708: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.02021/1.702, allocations: 7.297 MB / 460.1 MB, free: 2.828 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001462/1.704, allocations: 1.023 MB / 461.1 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/1.704, allocations: 249.4 kB / 461.3 MB, free: 1.551 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007538/1.705, allocations: 0.5651 MB / 461.9 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003784/1.705, allocations: 243.3 kB / 462.1 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.31e-05/1.705, allocations: 52 kB / 462.2 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02843/1.734, allocations: 14.48 MB / 476.7 MB, free: 2.195 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002031/1.734, allocations: 127.5 kB / 476.8 MB, free: 2.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000464/1.734, allocations: 243.4 kB / 477 MB, free: 1.832 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01786/1.752, allocations: 9.027 MB / 486 MB, free: 8.785 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.752, allocations: 0 / 486 MB, free: 8.785 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.443e-06/1.752, allocations: 0 / 486 MB, free: 8.785 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.397e-06/1.752, allocations: 0 / 486 MB, free: 8.785 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004432/1.757, allocations: 1.499 MB / 487.5 MB, free: 7.246 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.757, allocations: 11.98 kB / 487.6 MB, free: 7.234 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/1.757, allocations: 124.4 kB / 487.7 MB, free: 7.113 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/1.757, allocations: 272.7 kB / 487.9 MB, free: 6.82 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002795/1.758, allocations: 207.8 kB / 488.1 MB, free: 6.578 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/1.758, allocations: 51.94 kB / 488.2 MB, free: 6.527 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/1.759, allocations: 0.7952 MB / 489 MB, free: 5.688 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/1.759, allocations: 0 / 489 MB, free: 5.688 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-05/1.759, allocations: 20 kB / 489 MB, free: 5.668 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.645e-05/1.759, allocations: 39.95 kB / 489.1 MB, free: 5.629 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/1.761, allocations: 0.5865 MB / 489.6 MB, free: 5.039 MB / 442.7 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.201/1.962, allocations: 21.82 MB / 0.4995 GB, free: 96.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/1.963, allocations: 467.7 kB / 0.4999 GB, free: 96.38 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004703/1.963, allocations: 279.5 kB / 0.5002 GB, free: 96.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06372/2.027, allocations: 21.19 MB / 0.5209 GB, free: 75.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/2.027, allocations: 38.12 kB / 0.5209 GB, free: 74.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 2.595e-06/2.027, allocations: 0 / 0.5209 GB, free: 74.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.01755/2.044, allocations: 3.199 MB / 0.524 GB, free: 71.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/2.045, allocations: 55.41 kB / 0.5241 GB, free: 71.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/2.045, allocations: 261.7 kB / 0.5243 GB, free: 71.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/2.045, allocations: 33.7 kB / 0.5244 GB, free: 71.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.378e-05/2.045, allocations: 243.7 kB / 0.5246 GB, free: 71.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/2.045, allocations: 422.5 kB / 0.525 GB, free: 70.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/2.045, allocations: 130.1 kB / 0.5251 GB, free: 70.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/2.045, allocations: 366.8 kB / 0.5255 GB, free: 70.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005072/2.046, allocations: 281.7 kB / 0.5258 GB, free: 70.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005545/2.046, allocations: 397.4 kB / 0.5261 GB, free: 69.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/2.047, allocations: 0.732 MB / 0.5268 GB, free: 68.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/2.047, allocations: 0 / 0.5268 GB, free: 68.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004097/2.051, allocations: 1.249 MB / 0.5281 GB, free: 67.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/2.051, allocations: 8 kB / 0.5281 GB, free: 67.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/2.052, allocations: 4 kB / 0.5281 GB, free: 67.59 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003338/2.055, allocations: 1.386 MB / 0.5294 GB, free: 66.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/2.055, allocations: 24.91 kB / 0.5295 GB, free: 66.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/2.057, allocations: 1.386 MB / 0.5308 GB, free: 64.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/2.057, allocations: 83.34 kB / 0.5309 GB, free: 64.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/2.057, allocations: 27.92 kB / 0.5309 GB, free: 64.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 (puitsP3.C.a,puitsP2.C.a,sourceP3.C.b,sourceP2.C.b,plateHeatExchanger.Sc.b,plateHeatExchanger.Sf.b,plateHeatExchanger.Ef.a,plateHeatExchanger.Ec.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(6,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0001982/2.058, allocations: 173.8 kB / 0.5311 GB, free: 64.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/2.058, allocations: 59.62 kB / 0.5311 GB, free: 64.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/2.061, allocations: 3.885 MB / 0.5349 GB, free: 60.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002469/2.063, allocations: 1.258 MB / 0.5362 GB, free: 59.14 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/2.063, allocations: 0 / 0.5362 GB, free: 59.14 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/2.063, allocations: 5.953 kB / 0.5362 GB, free: 59.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006079/2.069, allocations: 2.62 MB / 0.5387 GB, free: 56.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/2.069, allocations: 4 kB / 0.5387 GB, free: 56.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/2.07, allocations: 87.91 kB / 0.5388 GB, free: 56.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002096/2.072, allocations: 0.8633 MB / 0.5397 GB, free: 55.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/2.072, allocations: 21.44 kB / 0.5397 GB, free: 55.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00184/2.074, allocations: 1.518 MB / 0.5412 GB, free: 53.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/2.074, allocations: 0 / 0.5412 GB, free: 53.99 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004469/2.078, allocations: 1.5 MB / 0.5426 GB, free: 52.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-05/2.078, allocations: 79.77 kB / 0.5427 GB, free: 52.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.197e-05/2.078, allocations: 31.83 kB / 0.5427 GB, free: 52.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/2.079, allocations: 27.98 kB / 0.5428 GB, free: 52.32 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/2.079, allocations: 56.88 kB / 0.5428 GB, free: 52.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/2.079, allocations: 20 kB / 0.5428 GB, free: 52.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002774/2.079, allocations: 335.1 kB / 0.5431 GB, free: 51.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/2.079, allocations: 0 / 0.5431 GB, free: 51.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002127/2.081, allocations: 1.072 MB / 0.5442 GB, free: 50.85 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(6,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003445/2.085, allocations: 1.347 MB / 0.5455 GB, free: 49.63 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001802/2.086, allocations: 1.081 MB / 0.5466 GB, free: 48.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/2.086, allocations: 0.5 kB / 0.5466 GB, free: 48.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009385/2.087, allocations: 484.2 kB / 0.547 GB, free: 48.05 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/2.089, allocations: 427 kB / 0.5474 GB, free: 47.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/2.091, allocations: 1.561 MB / 0.549 GB, free: 46.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/2.091, allocations: 408.6 kB / 0.5493 GB, free: 45.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002028/2.092, allocations: 53.41 kB / 0.5494 GB, free: 45.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.089e-05/2.092, allocations: 44.5 kB / 0.5494 GB, free: 45.55 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/2.092, allocations: 0 / 0.5494 GB, free: 45.55 MB / 442.7 MB Notification: Performance of Templates: time 0.04861/2.14, allocations: 46.88 MB / 0.5952 GB, free: 15.1 MB / 458.7 MB " [Timeout remaining time 658] make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.makefile [Timeout 660] (rm -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; mkfifo ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe ; head -c 1048576 < ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe >> ../files/ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.sim & ./ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.681024176999927]