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.8578/0.8578, allocations: 120.4 MB / 140.1 MB, free: 28 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.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 0.0005757/0.0005757, allocations: 19.97 kB / 217.7 MB, free: 12.98 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05919/0.05976, allocations: 33.37 MB / 251.1 MB, free: 11.55 MB / 238.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.TestStaticWaterWaterExchanger): time 1.745/1.805, allocations: 255.4 MB / 0.4946 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.03047/1.835, allocations: 20.65 MB / 0.5148 GB, free: 9.098 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/1.836, allocations: 4 kB / 0.5148 GB, free: 9.094 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro master/WaterSteam/HeatExchangers/StaticWaterWaterExchanger.mo:81:3-83:42: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:84:3-86:38: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:87:3-89:37: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:90:3-92:37: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.0005051/1.836, allocations: 175.8 kB / 0.5149 GB, free: 8.926 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006689/1.837, allocations: 325.2 kB / 0.5152 GB, free: 8.609 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.01936/1.856, allocations: 7.214 MB / 0.5223 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001388/1.858, allocations: 0.9841 MB / 0.5232 GB, free: 440 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/1.858, allocations: 241.2 kB / 0.5235 GB, free: 192 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004796/1.858, allocations: 394.6 kB / 0.5239 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/1.859, allocations: 300 kB / 0.5241 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.759e-05/1.859, allocations: 52 kB / 0.5242 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0263/1.885, allocations: 14.46 MB / 0.5383 GB, free: 1 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/1.885, allocations: 131.5 kB / 0.5384 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004252/1.886, allocations: 290.6 kB / 0.5387 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01301/1.899, allocations: 6.972 MB / 0.5455 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.899, allocations: 0 / 0.5455 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/1.899, allocations: 0 / 0.5455 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.277e-06/1.899, allocations: 0 / 0.5455 GB, free: 9.598 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.004059/1.903, allocations: 1.506 MB / 0.547 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.903, allocations: 12.02 kB / 0.547 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/1.903, allocations: 76.47 kB / 0.5471 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/1.904, allocations: 286.4 kB / 0.5473 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002537/1.904, allocations: 199.2 kB / 0.5475 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.096e-05/1.904, allocations: 48 kB / 0.5476 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/1.905, allocations: 0.799 MB / 0.5484 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/1.905, allocations: 0 / 0.5484 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/1.905, allocations: 24 kB / 0.5484 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/1.905, allocations: 35.97 kB / 0.5484 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/1.907, allocations: 0.5865 MB / 0.549 GB, free: 5.891 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.07712/1.984, allocations: 21.78 MB / 0.5703 GB, free: 12 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/1.985, allocations: 468.2 kB / 0.5707 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006249/1.986, allocations: 286.7 kB / 0.571 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08002/2.066, allocations: 21.17 MB / 0.5917 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/2.066, allocations: 38.56 kB / 0.5917 GB, free: 10.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=126): time 2.675e-06/2.066, allocations: 0 / 0.5917 GB, free: 10.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=126): time 0.01867/2.085, allocations: 3.173 MB / 0.5948 GB, free: 6.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/2.085, allocations: 59.27 kB / 0.5949 GB, free: 6.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/2.085, allocations: 249.8 kB / 0.5951 GB, free: 6.516 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/2.085, allocations: 29.7 kB / 0.5951 GB, free: 6.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/2.085, allocations: 241.7 kB / 0.5953 GB, free: 6.238 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/2.085, allocations: 432.1 kB / 0.5958 GB, free: 5.812 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/2.086, allocations: 130.1 kB / 0.5959 GB, free: 5.68 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001889/2.086, allocations: 366.8 kB / 0.5962 GB, free: 5.312 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/2.086, allocations: 285.7 kB / 0.5965 GB, free: 5.035 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007391/2.087, allocations: 393.4 kB / 0.5969 GB, free: 4.625 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/2.089, allocations: 0.7264 MB / 0.5976 GB, free: 3.875 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/2.089, allocations: 0 / 0.5976 GB, free: 3.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004578/2.093, allocations: 1.24 MB / 0.5988 GB, free: 2.625 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/2.093, allocations: 8 kB / 0.5988 GB, free: 2.617 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/2.093, allocations: 3.984 kB / 0.5988 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003994/2.097, allocations: 1.375 MB / 0.6002 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/2.097, allocations: 23.92 kB / 0.6002 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/2.1, allocations: 1.374 MB / 0.6015 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/2.1, allocations: 83.28 kB / 0.6016 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/2.1, allocations: 23.98 kB / 0.6016 GB, free: 15.7 MB / 0.5606 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 (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.0002956/2.101, allocations: 182.5 kB / 0.6018 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/2.101, allocations: 55.56 kB / 0.6019 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004977/2.106, allocations: 3.887 MB / 0.6056 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003052/2.109, allocations: 1.255 MB / 0.6069 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/2.109, allocations: 0 / 0.6069 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/2.109, allocations: 3.984 kB / 0.6069 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007089/2.116, allocations: 2.601 MB / 0.6094 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/2.116, allocations: 4 kB / 0.6094 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/2.116, allocations: 95.89 kB / 0.6095 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00245/2.119, allocations: 0.8634 MB / 0.6104 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/2.119, allocations: 19.98 kB / 0.6104 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002476/2.121, allocations: 1.507 MB / 0.6118 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/2.121, allocations: 3.938 kB / 0.6118 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005134/2.126, allocations: 1.465 MB / 0.6133 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/2.127, allocations: 75.27 kB / 0.6134 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/2.127, allocations: 35.78 kB / 0.6134 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/2.127, allocations: 27.98 kB / 0.6134 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/2.127, allocations: 68.75 kB / 0.6135 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/2.127, allocations: 23.98 kB / 0.6135 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004427/2.128, allocations: 327.2 kB / 0.6138 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/2.128, allocations: 0 / 0.6138 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002715/2.13, allocations: 1.068 MB / 0.6149 GB, free: 1.898 MB / 0.5606 GB 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.003646/2.134, allocations: 1.221 MB / 0.616 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002342/2.136, allocations: 1.076 MB / 0.6171 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/2.136, allocations: 0 / 0.6171 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/2.138, allocations: 476.3 kB / 0.6176 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002043/2.14, allocations: 399 kB / 0.6179 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/2.142, allocations: 1.578 MB / 0.6195 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004272/2.143, allocations: 404.6 kB / 0.6199 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000213/2.143, allocations: 64.34 kB / 0.6199 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.215e-05/2.143, allocations: 40.5 kB / 0.62 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/2.143, allocations: 0 / 0.62 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of Templates: time 0.07046/2.214, allocations: 46.75 MB / 0.6656 GB, free: 14.18 MB / 0.6231 GB " [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 -s ida -lv LOG_STATS > ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestStaticWaterWaterExchanger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.687508346047252] Failed to read output from testmodel.py, exit status != 0: 2.492012274917215 2.501107866 0.5999056660000001 Calling exit ...